nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 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 = "1.0.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "ac511215c01ee9ae47b19716599e8ccfa746f2e18de72bdf641b79b22afa27ea"; 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}