Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi, protobuf, grpcio }: 2 3buildPythonPackage rec { 4 pname = "grpcio-tools"; 5 version = "1.31.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "3b08cbd3f4d5b60e3bff8f859e6e03db739967a684268164abc940415e23ca51"; 10 }; 11 12 enableParallelBuilding = true; 13 14 propagatedBuildInputs = [ protobuf grpcio ]; 15 16 # no tests in the package 17 doCheck = false; 18 19 meta = with stdenv.lib; { 20 description = "Protobuf code generator for gRPC"; 21 license = licenses.asl20; 22 homepage = "https://grpc.io/grpc/python/"; 23 maintainers = with maintainers; [ ]; 24 }; 25}