1{ buildPythonPackage
2, lib
3, pythonOlder
4, fetchPypi
5, six
6, enum34
7}:
8
9buildPythonPackage rec {
10 pname = "absl-py";
11 version = "1.2.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-9WiAmTjEmrvaiYJiI8mStjCv0jxjgWCteEDP40dxDZc=";
16 };
17
18 propagatedBuildInputs = [
19 six
20 ] ++ lib.optionals (pythonOlder "3.4") [
21 enum34
22 ];
23
24 # checks use bazel; should be revisited
25 doCheck = false;
26
27 meta = {
28 description = "Abseil Python Common Libraries";
29 homepage = "https://github.com/abseil/abseil-py";
30 license = lib.licenses.asl20;
31 maintainers = with lib.maintainers; [ ];
32 };
33}