pythonPackages.supervise_api: fix deps on Python 2
This commit is contained in:
parent
01bf384409
commit
b2b00358e8
|
@ -2,6 +2,8 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, supervise
|
, supervise
|
||||||
|
, isPy3k
|
||||||
|
, whichcraft
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -15,7 +17,11 @@ buildPythonPackage rec {
|
||||||
sha256 = "e6982633a924cb5192d2291d25b366ff311876a31b0f5961471b39d87397ef5b";
|
sha256 = "e6982633a924cb5192d2291d25b366ff311876a31b0f5961471b39d87397ef5b";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ supervise ];
|
propagatedBuildInputs = [
|
||||||
|
supervise
|
||||||
|
] ++ lib.optionals ( !isPy3k ) [
|
||||||
|
whichcraft
|
||||||
|
];
|
||||||
|
|
||||||
# no tests
|
# no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
Loading…
Reference in New Issue