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