2020-09-17 15:23:16 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }:
|
2018-07-05 08:14:51 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "grpcio-tools";
|
2020-10-31 04:20:00 +00:00
|
|
|
version = "1.33.2";
|
2018-07-05 08:14:51 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-31 04:20:00 +00:00
|
|
|
sha256 = "af40774c0275f5465f49fd92bfcd9831b19b013de4cc77b8fb38aea76fa6dce3";
|
2018-07-05 08:14:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2020-09-17 15:23:16 +01:00
|
|
|
propagatedBuildInputs = [ protobuf grpcio setuptools ];
|
2018-07-05 08:14:51 +01:00
|
|
|
|
|
|
|
# no tests in the package
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Protobuf code generator for gRPC";
|
2019-08-03 22:21:00 +01:00
|
|
|
license = licenses.asl20;
|
2018-07-05 08:14:51 +01:00
|
|
|
homepage = "https://grpc.io/grpc/python/";
|
2020-02-26 14:21:12 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-07-05 08:14:51 +01:00
|
|
|
};
|
|
|
|
}
|