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

wip/yesman
Timo Kaufmann 6 years ago committed by GitHub
parent ff03e27b77
commit af83f8b398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      pkgs/development/python-modules/absl-py/default.nix

@ -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…
Cancel
Save