mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +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,
|
||||
nose,
|
||||
six,
|
||||
typing,
|
||||
isPy27,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -15,7 +17,7 @@ buildPythonPackage rec {
|
|||
sha256 = "0zjf9nczl1ifzj07bgs6mwxsfd5xck9l0lchv2j0fv2n481xp2v7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
propagatedBuildInputs = [ six ] ++ lib.optional isPy27 typing;
|
||||
checkInputs = [ nose ];
|
||||
|
||||
# Tests currently failing.
|
||||
|
|
Loading…
Reference in a new issue