30 lines
692 B
Nix
30 lines
692 B
Nix
{ lib, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "grpcio-tools";
|
|
version = "1.37.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3ec510c1b6bfc32effc639acf9a055e72dab7a7b6757bf72f2132790d6a7cf1c";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|