Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi, lib, grpc, grpcio}: 2 3buildPythonPackage rec { 4 pname = "grpcio-tools"; 5 version = "1.18.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "77ec4d3c92ccbbe3de37c457e3c72962e519c36cafb96abe5842bced8eb926fa"; 10 }; 11 12 enableParallelBuilding = true; 13 14 propagatedBuildInputs = [ 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 = lib.licenses.asl20; 22 homepage = "https://grpc.io/grpc/python/"; 23 maintainers = with maintainers; [ vanschelven ]; 24 }; 25}