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