f61cd259d4
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
29 lines
692 B
Nix
29 lines
692 B
Nix
{ lib, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "grpcio-tools";
|
|
version = "1.41.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3891b1df82369acbc8451d4952cd20755f49a82398dce62437511ad17b47290e";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
propagatedBuildInputs = [ protobuf grpcio setuptools ];
|
|
|
|
# no tests in the package
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "grpc_tools" ];
|
|
|
|
meta = with lib; {
|
|
description = "Protobuf code generator for gRPC";
|
|
license = licenses.asl20;
|
|
homepage = "https://grpc.io/grpc/python/";
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|