nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 29 lines 692 B view raw
1{ lib, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }: 2 3buildPythonPackage rec { 4 pname = "grpcio-tools"; 5 version = "1.46.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "31fee436ace5b3bd950cc3a8e68d6b84de1d6dc755959db7badc3470cdf22f70"; 10 }; 11 12 outputs = [ "out" "dev" ]; 13 14 enableParallelBuilding = true; 15 16 propagatedBuildInputs = [ protobuf grpcio setuptools ]; 17 18 # no tests in the package 19 doCheck = false; 20 21 pythonImportsCheck = [ "grpc_tools" ]; 22 23 meta = with lib; { 24 description = "Protobuf code generator for gRPC"; 25 license = licenses.asl20; 26 homepage = "https://grpc.io/grpc/python/"; 27 maintainers = with maintainers; [ ]; 28 }; 29}