pythonPackages.class-registry: Add typing propagatedBuildInput when using python2
commit263ddd73cd48820feba9a097311cbbf7424644ae
authorSebastian Jordan <sebastian.jordan.mail@googlemail.com>
dateSun 22 Nov 2020, 21:23 (6 years ago)
parent7509f7c
pkgs/development/python-modules/class-registry/default.nix+3−1
@@ -4,6 +4,8 @@
44 lib,
55 nose,
66 six,
7+ typing,
8+ isPy27,
79}:
810
911buildPythonPackage rec {
@@ -15,7 +17,7 @@ buildPythonPackage rec {
1517 sha256 = "0zjf9nczl1ifzj07bgs6mwxsfd5xck9l0lchv2j0fv2n481xp2v7";
1618 };
1719
18− propagatedBuildInputs = [ six ];
20+ propagatedBuildInputs = [ six ] ++ lib.optional isPy27 typing;
1921 checkInputs = [ nose ];
2022
2123 # Tests currently failing.