2017-11-14 19:27:13 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
2018-12-19 22:19:16 +00:00
|
|
|
, pythonOlder
|
2017-11-14 19:27:13 +00:00
|
|
|
, fetchPypi
|
|
|
|
, six
|
2018-12-19 22:19:16 +00:00
|
|
|
, enum34
|
2017-11-14 19:27:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "absl-py";
|
2019-12-19 19:31:03 +00:00
|
|
|
version = "0.9.0";
|
2017-11-14 19:27:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:03 +00:00
|
|
|
sha256 = "75e737d6ce7723d9ff9b7aa1ba3233c34be62ef18d5859e706b8fdc828989830";
|
2017-11-14 19:27:13 +00:00
|
|
|
};
|
|
|
|
|
2018-12-19 22:19:16 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
] ++ lib.optionals (pythonOlder "3.4") [
|
|
|
|
enum34
|
|
|
|
];
|
2017-11-14 19:27:13 +00:00
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|