mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-26 09:46:04 +03:00
pip: allow git+ssh dependencies
This commit is contained in:
parent
774019d486
commit
eb3b7028d5
@ -135,7 +135,7 @@ in {
|
||||
inherit (cfg) env pypiSnapshotDate pipFlags pipVersion requirementsList requirementsFiles nativeBuildInputs;
|
||||
inherit (config.deps) writePureShellScript nix;
|
||||
inherit (config.paths) findRoot;
|
||||
inherit (nixpkgs) gitMinimal nix-prefetch-scripts python3 writeText;
|
||||
inherit (nixpkgs) gitMinimal nix-prefetch-scripts python3 writeText openssh;
|
||||
pythonInterpreter = "${python}/bin/python";
|
||||
};
|
||||
setuptools = config.deps.python.pkgs.setuptools;
|
||||
|
@ -42,6 +42,7 @@
|
||||
gitMinimal,
|
||||
writePureShellScript,
|
||||
nix-prefetch-scripts,
|
||||
openssh,
|
||||
}: let
|
||||
package = import ./package.nix {
|
||||
inherit
|
||||
@ -57,7 +58,7 @@
|
||||
python3.withPackages
|
||||
(ps: [ps.mitmproxy ps.python-dateutil]);
|
||||
|
||||
path = [nix gitMinimal] ++ nativeBuildInputs;
|
||||
path = [nix gitMinimal openssh] ++ nativeBuildInputs;
|
||||
|
||||
args = writeText "pip-args" (builtins.toJSON {
|
||||
filterPypiResponsesScript = ./filter-pypi-responses.py;
|
||||
|
Loading…
Reference in New Issue
Block a user