fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
39 lines
785 B
Nix
39 lines
785 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonRelaxDepsHook,
|
|
grpcio,
|
|
protobuf,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "grpcio-reflection";
|
|
version = "1.62.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-LdRIBtaNAAZjZSm9pXMBKxmkIoFHjC0FHNquu5HiUWw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
pythonRelaxDeps = [ "grpcio" ];
|
|
|
|
propagatedBuildInputs = [
|
|
grpcio
|
|
protobuf
|
|
];
|
|
|
|
pythonImportsCheck = [ "grpc_reflection" ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Standard Protobuf Reflection Service for gRPC";
|
|
homepage = "https://pypi.org/project/grpcio-reflection";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ happysalada ];
|
|
};
|
|
}
|