159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
52 lines
819 B
Nix
52 lines
819 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
protobuf,
|
|
grpcio,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "grpcio-tools";
|
|
version = "1.65.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "grpcio_tools";
|
|
inherit version;
|
|
hash = "sha256-JM/+i8kPuCN/C88kC9bHAwQlX+J7adsyYBSZoEP4cb4=";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonRelaxDeps = [
|
|
"protobuf"
|
|
"grpcio"
|
|
];
|
|
|
|
dependencies = [
|
|
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 = [ ];
|
|
};
|
|
}
|