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