Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 33 lines 645 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.12.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "b44f68984a5ceb2607d135a615999b93924c771238a63920d17d3387b0d229d5"; 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}