2021-01-16 11:56:48 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }:
|
2018-07-05 08:14:51 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "grpcio-tools";
|
2021-04-07 05:20:00 +01:00
|
|
|
version = "1.37.0";
|
2018-07-05 08:14:51 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-07 05:20:00 +01:00
|
|
|
sha256 = "3ec510c1b6bfc32effc639acf9a055e72dab7a7b6757bf72f2132790d6a7cf1c";
|
2018-07-05 08:14:51 +01:00
|
|
|
};
|
|
|
|
|
2020-11-08 23:08:53 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
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;
|
|
|
|
|
2021-01-16 11:56:48 +00:00
|
|
|
pythonImportsCheck = [ "grpc_tools" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-07-05 08:14:51 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|