0215034f25
when they already rely on SRI hashes.
33 lines
620 B
Nix
33 lines
620 B
Nix
{ buildPythonPackage
|
|
, lib
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, six
|
|
, enum34
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "absl-py";
|
|
version = "1.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-0sJE0BBIukdufAgL0sbfXhQdIR3oAiNGDVs7iipYQz0=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|