1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-05 23:32:35 +03:00
nixpkgs/pkgs/development/python-modules/absl-py/default.nix

34 lines
622 B
Nix
Raw Normal View History

2017-11-14 14:27:13 -05:00
{ buildPythonPackage
, lib
, pythonOlder
2017-11-14 14:27:13 -05:00
, fetchPypi
, six
, enum34
2017-11-14 14:27:13 -05:00
}:
buildPythonPackage rec {
pname = "absl-py";
version = "1.2.0";
2017-11-14 14:27:13 -05:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-9WiAmTjEmrvaiYJiI8mStjCv0jxjgWCteEDP40dxDZc=";
2017-11-14 14:27:13 -05:00
};
propagatedBuildInputs = [
six
] ++ lib.optionals (pythonOlder "3.4") [
enum34
];
2017-11-14 14:27:13 -05: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; [ ];
2017-11-14 14:27:13 -05:00
};
}