nixpkgs/pkgs/development/python-modules/absl-py/default.nix

34 lines
645 B
Nix
Raw Normal View History

2017-11-14 19:27:13 +00:00
{ buildPythonPackage
, lib
, pythonOlder
2017-11-14 19:27:13 +00:00
, fetchPypi
, six
, enum34
2017-11-14 19:27:13 +00:00
}:
buildPythonPackage rec {
pname = "absl-py";
version = "0.12.0";
2017-11-14 19:27:13 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "b44f68984a5ceb2607d135a615999b93924c771238a63920d17d3387b0d229d5";
2017-11-14 19:27:13 +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 ];
};
}