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 (cfg) env pypiSnapshotDate pipFlags pipVersion requirementsList requirementsFiles nativeBuildInputs;
|
||||||
inherit (config.deps) writePureShellScript nix;
|
inherit (config.deps) writePureShellScript nix;
|
||||||
inherit (config.paths) findRoot;
|
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";
|
pythonInterpreter = "${python}/bin/python";
|
||||||
};
|
};
|
||||||
setuptools = config.deps.python.pkgs.setuptools;
|
setuptools = config.deps.python.pkgs.setuptools;
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
gitMinimal,
|
gitMinimal,
|
||||||
writePureShellScript,
|
writePureShellScript,
|
||||||
nix-prefetch-scripts,
|
nix-prefetch-scripts,
|
||||||
|
openssh,
|
||||||
}: let
|
}: let
|
||||||
package = import ./package.nix {
|
package = import ./package.nix {
|
||||||
inherit
|
inherit
|
||||||
@ -57,7 +58,7 @@
|
|||||||
python3.withPackages
|
python3.withPackages
|
||||||
(ps: [ps.mitmproxy ps.python-dateutil]);
|
(ps: [ps.mitmproxy ps.python-dateutil]);
|
||||||
|
|
||||||
path = [nix gitMinimal] ++ nativeBuildInputs;
|
path = [nix gitMinimal openssh] ++ nativeBuildInputs;
|
||||||
|
|
||||||
args = writeText "pip-args" (builtins.toJSON {
|
args = writeText "pip-args" (builtins.toJSON {
|
||||||
filterPypiResponsesScript = ./filter-pypi-responses.py;
|
filterPypiResponsesScript = ./filter-pypi-responses.py;
|
||||||
|
Loading…
Reference in New Issue
Block a user