nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 41 lines 793 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, googleapis-common-protos 5, grpcio 6, protobuf 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "grpcio-status"; 12 version = "1.46.3"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "78442ac7d2813c56f9cc04f713efd7088596b10f88a4ddd09279211cc48402d5"; 20 }; 21 22 propagatedBuildInputs = [ 23 googleapis-common-protos 24 grpcio 25 protobuf 26 ]; 27 28 # Projec thas no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "grpc_status" 33 ]; 34 35 meta = with lib; { 36 description = "GRPC Python status proto mapping"; 37 homepage = "https://github.com/grpc/grpc/tree/master/src/python/grpcio_status"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}