gladiusmaximus

Untitled

Sep 16th, 2021
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. $ cat default.nix
  2. { pkgs ? import <nixpkgs> {} }:
  3. pkgs.poetry2nix.mkPoetryApplication {
  4. projectDir = ./.;
  5. }
  6.  
  7. $ cat poetry.lock
  8. [[package]]
  9. name = "tomli"
  10. version = "1.2.1"
  11. description = "A lil' TOML parser"
  12. category = "main"
  13. optional = false
  14. python-versions = ">=3.6"
  15.  
  16. [metadata]
  17. lock-version = "1.1"
  18. python-versions = "^3.7"
  19. content-hash = "4a927bf7f73399b97e80d7f43dc46a480bf84e65b672be13e8f5546e2fcc6fa7"
  20.  
  21. [metadata.files]
  22. tomli = [
  23. {file = "tomli-1.2.1-py3-none-any.whl", hash = "sha256:8dd0e9524d6f386271a36b41dbf6c57d8e32fd96fd22b6584679dc569d20899f"},
  24. {file = "tomli-1.2.1.tar.gz", hash = "sha256:a5b75cb6f3968abb47af1b40c1819dc519ea82bcc065776a866e8d74c5ca9442"},
  25. ]
  26.  
  27. $ cat pyproject.toml
  28. [tool.poetry]
  29. name = "test"
  30. version = "0.1.0"
  31. authors = ["Samuel Grayson <[email protected]>"]
  32. description = ""
  33.  
  34. [tool.poetry.dependencies]
  35. python = "^3.7"
  36. tomli = "^1.2.1"
  37.  
  38. [build-system]
  39. requires = ["poetry-core>=1.0.0"]
  40. build-backend = "poetry.core.masonry.api"
  41.  
Advertisement
Add Comment
Please, Sign In to add comment