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