{ lib, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }: buildPythonPackage rec { pname = "grpcio-tools"; version = "1.46.1"; src = fetchPypi { inherit pname version; sha256 = "d54d80a4cfd7da002893711af613c9c9358dddfdd27feea44eb902c495b09105"; }; outputs = [ "out" "dev" ]; enableParallelBuilding = true; propagatedBuildInputs = [ protobuf grpcio setuptools ]; # no tests in the package doCheck = false; pythonImportsCheck = [ "grpc_tools" ]; meta = with lib; { description = "Protobuf code generator for gRPC"; license = licenses.asl20; homepage = "https://grpc.io/grpc/python/"; maintainers = with maintainers; [ ]; }; }