1{ stdenv, buildPythonPackage, fetchPypi, lib, grpc, grpcio}:
2
3buildPythonPackage rec {
4 pname = "grpcio-tools";
5 version = "1.14.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "4ce5aa660d7884f23aac1eafa93b97a4c3e2b512edff871e91fdb6ee86ebd5ea";
10 };
11
12 enableParallelBuilding = true;
13
14 propagatedBuildInputs = [ grpc 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}