mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
pythonPackages.class-registry: Add typing propagatedBuildInput when using python2
This commit is contained in:
parent
7509f7ca5b
commit
263ddd73cd
1 changed files with 3 additions and 1 deletions
|
@ -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