nixpkgs/pkgs/development/python-modules/absl-py/default.nix
2019-12-30 16:46:39 +01:00

34 lines
644 B
Nix

{ buildPythonPackage
, lib
, pythonOlder
, fetchPypi
, six
, enum34
}:
buildPythonPackage rec {
pname = "absl-py";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "75e737d6ce7723d9ff9b7aa1ba3233c34be62ef18d5859e706b8fdc828989830";
};
propagatedBuildInputs = [
six
] ++ lib.optionals (pythonOlder "3.4") [
enum34
];
# checks use bazel; should be revisited
doCheck = false;
meta = {
description = "Abseil Python Common Libraries";
homepage = "https://github.com/abseil/abseil-py";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ danharaj ];
};
}