pythonPackages.absl-py: fix python2 build (#52544)

This commit is contained in:
Timo Kaufmann
2018-12-19 23:19:16 +01:00
committed by GitHub
parent ff03e27b77
commit af83f8b398

View File

@@ -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;