1{ buildPythonPackage
2, lib
3, pythonOlder
4, fetchPypi
5, six
6, enum34
7}:
8
9buildPythonPackage rec {
10 pname = "absl-py";
11 version = "0.7.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "8718189e4bd6013bf79910b9d1cb0a76aecad8ce664f78e1144980fabdd2cd23";
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; [ danharaj ];
32 };
33}