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