2019-08-03 22:21:00 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, protobuf, grpcio }:
|
2018-07-05 08:14:51 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "grpcio-tools";
|
2019-10-16 10:43:07 +01:00
|
|
|
version = "1.23.1";
|
2018-07-05 08:14:51 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:07 +01:00
|
|
|
sha256 = "c2f5306153dee33bc04212802c898cf79539917e31cf07516f31c2943bea2160";
|
2018-07-05 08:14:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-08-03 22:21:00 +01:00
|
|
|
propagatedBuildInputs = [ protobuf grpcio ];
|
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/";
|
|
|
|
maintainers = with maintainers; [ vanschelven ];
|
|
|
|
};
|
|
|
|
}
|