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