Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 39 lines 787 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonRelaxDepsHook, 5 fetchPypi, 6 grpcio, 7 protobuf, 8}: 9 10buildPythonPackage rec { 11 pname = "grpcio-channelz"; 12 version = "1.62.2"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-bkrCxD12skXF9m2Y9SPbCHhrGGEoplXubyCjCn5o5Pk="; 18 }; 19 20 nativeBuildInputs = [ pythonRelaxDepsHook ]; 21 pythonRelaxDeps = [ "grpcio" ]; 22 23 propagatedBuildInputs = [ 24 grpcio 25 protobuf 26 ]; 27 28 pythonImportsCheck = [ "grpc_channelz" ]; 29 30 # no tests 31 doCheck = false; 32 33 meta = with lib; { 34 description = "Channel Level Live Debug Information Service for gRPC"; 35 homepage = "https://pypi.org/project/grpcio-channelz"; 36 license = with licenses; [ asl20 ]; 37 maintainers = with maintainers; [ happysalada ]; 38 }; 39}