Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 33 lines 644 B view raw
1{ buildPythonPackage 2, lib 3, pythonOlder 4, fetchPypi 5, six 6, enum34 7}: 8 9buildPythonPackage rec { 10 pname = "absl-py"; 11 version = "0.9.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "75e737d6ce7723d9ff9b7aa1ba3233c34be62ef18d5859e706b8fdc828989830"; 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}