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

34 lines
644 B
Nix
Raw Normal View History

2017-11-14 20:27:13 +01:00
{ buildPythonPackage
, lib
, pythonOlder
2017-11-14 20:27:13 +01:00
, fetchPypi
, six
, enum34
2017-11-14 20:27:13 +01:00
}:
buildPythonPackage rec {
pname = "absl-py";
2019-02-14 08:37:09 +01:00
version = "0.7.0";
2017-11-14 20:27:13 +01:00
src = fetchPypi {
inherit pname version;
2019-02-14 08:37:09 +01:00
sha256 = "8718189e4bd6013bf79910b9d1cb0a76aecad8ce664f78e1144980fabdd2cd23";
2017-11-14 20:27:13 +01:00
};
propagatedBuildInputs = [
six
] ++ lib.optionals (pythonOlder "3.4") [
enum34
];
2017-11-14 20:27:13 +01: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 ];
};
}