mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 21:14:52 +00:00
pythonPackages.class-registry: Add typing propagatedBuildInput when using python2
This commit is contained in:
parent
7509f7ca5b
commit
263ddd73cd
@ -4,6 +4,8 @@
|
|||||||
lib,
|
lib,
|
||||||
nose,
|
nose,
|
||||||
six,
|
six,
|
||||||
|
typing,
|
||||||
|
isPy27,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -15,7 +17,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0zjf9nczl1ifzj07bgs6mwxsfd5xck9l0lchv2j0fv2n481xp2v7";
|
sha256 = "0zjf9nczl1ifzj07bgs6mwxsfd5xck9l0lchv2j0fv2n481xp2v7";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six ] ++ lib.optional isPy27 typing;
|
||||||
checkInputs = [ nose ];
|
checkInputs = [ nose ];
|
||||||
|
|
||||||
# Tests currently failing.
|
# Tests currently failing.
|
||||||
|
Loading…
Reference in New Issue
Block a user