Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 25 lines 619 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, protobuf, grpcio }: 2 3buildPythonPackage rec { 4 pname = "grpcio-tools"; 5 version = "1.27.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "e29aa3f7a47d37f8a15605e97bec580baa6bb7ead7114b8d2f20d7b28da30c5c"; 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; [ vanschelven ]; 24 }; 25}