pythonPackages.absl-py: fix python2 build (#52544)
This commit is contained in:
parent
ff03e27b77
commit
af83f8b398
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
|||
{ buildPythonPackage
|
||||
, lib
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, six
|
||||
, enum34
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -13,7 +15,11 @@ buildPythonPackage rec {
|
|||
sha256 = "87519e3b91a3d573664c6e2ee33df582bb68dca6642ae3cf3a4361b1c0a4e9d6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
] ++ lib.optionals (pythonOlder "3.4") [
|
||||
enum34
|
||||
];
|
||||
|
||||
# checks use bazel; should be revisited
|
||||
doCheck = false;
|
||||
|
|
Loading…
Reference in a new issue