1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 grpcio,
7 protobuf,
8}:
9
10buildPythonPackage rec {
11 pname = "grpcio-reflection";
12 version = "1.65.1";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "grpcio_reflection";
17 inherit version;
18 hash = "sha256-5q5ZAPnYAdyXApglUEL7xCaBVG904IwjNt/9Brl2Wr8=";
19 };
20
21 build-system = [ setuptools ];
22
23 pythonRelaxDeps = [
24 "grpcio"
25 "protobuf"
26 ];
27
28 dependencies = [
29 grpcio
30 protobuf
31 ];
32
33 pythonImportsCheck = [ "grpc_reflection" ];
34
35 # no tests
36 doCheck = false;
37
38 meta = with lib; {
39 description = "Standard Protobuf Reflection Service for gRPC";
40 homepage = "https://pypi.org/project/grpcio-reflection";
41 license = with licenses; [ asl20 ];
42 maintainers = with maintainers; [ happysalada ];
43 };
44}