python310Packages.grpcio-reflection: init at 1.56.2

This commit is contained in:
happysalada 2023-07-23 21:07:00 +09:00 committed by Yt
parent 0c615db6d4
commit bff379bed8
2 changed files with 45 additions and 1 deletions

View file

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonRelaxDepsHook
, grpcio
, protobuf
}:
buildPythonPackage rec {
pname = "grpcio-reflection";
version = "1.56.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-dKgXZq9jmrjxt/WVMdyBRkD0obzwEtwGzmviBbUKOUw=";
};
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 ];
};
}

View file

@ -4517,9 +4517,11 @@ self: super: with self; {
grpcio-channelz = callPackage ../development/python-modules/grpcio-channelz { };
grpcio-gcp = callPackage ../development/python-modules/grpcio-gcp { };
grpcio-health-checking = callPackage ../development/python-modules/grpcio-health-checking { };
grpcio-gcp = callPackage ../development/python-modules/grpcio-gcp { };
grpcio-reflection = callPackage ../development/python-modules/grpcio-reflection { };
grpcio-status = callPackage ../development/python-modules/grpcio-status { };