diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/poetry/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/poetry/default.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/nixpkgs/pkgs/development/tools/poetry/default.nix b/nixpkgs/pkgs/development/tools/poetry/default.nix deleted file mode 100644 index ac2ab258df47..000000000000 --- a/nixpkgs/pkgs/development/tools/poetry/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, poetry2nix, python, fetchFromGitHub, runtimeShell }: - - -poetry2nix.mkPoetryApplication { - - inherit python; - - pyproject = ./pyproject.toml; - poetrylock = ./poetry.lock; - - src = fetchFromGitHub (lib.importJSON ./src.json); - - # "Vendor" dependencies (for build-system support) - postPatch = '' - for path in ''${PYTHONPATH//:/ }; do - echo "sys.path.insert(0, \"$path\")" >> poetry/__init__.py - done - ''; - - # Propagating dependencies leads to issues downstream - # We've already patched poetry to prefer "vendored" dependencies - postFixup = '' - rm $out/nix-support/propagated-build-inputs - ''; - - # Fails because of impurities (network, git etc etc) - doCheck = false; - - meta = with lib; { - platforms = platforms.all; - maintainers = with maintainers; [ adisbladis jakewaksbaum ]; - }; -} |