3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/absl-py/default.nix
2021-06-21 16:48:40 -07:00

34 lines
645 B
Nix

{ buildPythonPackage
, lib
, pythonOlder
, fetchPypi
, six
, enum34
}:
buildPythonPackage rec {
pname = "absl-py";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "6953272383486044699fd0e9f00aad167a27e08ce19aae66c6c4b10e7e767793";
};
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 ];
};
}