2021-01-16 03:56:48 -08:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }:
|
2018-07-05 00:14:51 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "grpcio-tools";
|
2021-02-09 20:20:00 -08:00
|
|
|
version = "1.35.0";
|
2018-07-05 00:14:51 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-09 20:20:00 -08:00
|
|
|
sha256 = "9e2a41cba9c5a20ae299d0fdd377fe231434fa04cbfbfb3807293c6ec10b03cf";
|
2018-07-05 00:14:51 -07:00
|
|
|
};
|
|
|
|
|
2020-11-08 15:08:53 -08:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2018-07-05 00:14:51 -07:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2020-09-17 07:23:16 -07:00
|
|
|
propagatedBuildInputs = [ protobuf grpcio setuptools ];
|
2018-07-05 00:14:51 -07:00
|
|
|
|
|
|
|
# no tests in the package
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-16 03:56:48 -08:00
|
|
|
pythonImportsCheck = [ "grpc_tools" ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2018-07-05 00:14:51 -07:00
|
|
|
description = "Protobuf code generator for gRPC";
|
2019-08-03 14:21:00 -07:00
|
|
|
license = licenses.asl20;
|
2018-07-05 00:14:51 -07:00
|
|
|
homepage = "https://grpc.io/grpc/python/";
|
2020-02-26 06:21:12 -08:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-07-05 00:14:51 -07:00
|
|
|
};
|
|
|
|
}
|