bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
29 lines
679 B
Nix
29 lines
679 B
Nix
{ lib, buildPythonPackage, fetchPypi, protobuf, grpcio, setuptools }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "grpcio-tools";
|
|
version = "1.44.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-vjf0WOpRDJqPHKq7wrJY0S5V0YmlZ/Xtys6Q8n3A778=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|