1{ stdenv, buildPythonPackage, fetchPypi, protobuf, grpcio }:
2
3buildPythonPackage rec {
4 pname = "grpcio-tools";
5 version = "1.23.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "cbc35031ec2b29af36947d085a7fbbcd8b79b84d563adf6156103d82565f78db";
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}