1{ lib, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }: 2 3buildPythonPackage rec { 4 pname = "grpcio-tools"; 5 version = "1.42.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "d0a0daa82eb2c2fb8e12b82a458d1b7c5516fe1135551da92b1a02e2cba93422"; 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}