nixpkgs/pkgs/development/python-modules/absl-py/default.nix
2021-11-30 18:48:28 -08:00

34 lines
645 B
Nix

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