diff --git a/pkgs/development/python-modules/grpcio-health-checking/default.nix b/pkgs/development/python-modules/grpcio-health-checking/default.nix new file mode 100644 index 00000000000..c202a1f7c65 --- /dev/null +++ b/pkgs/development/python-modules/grpcio-health-checking/default.nix @@ -0,0 +1,42 @@ +{ lib +, buildPythonPackage +, pythonRelaxDepsHook +, fetchPypi +, grpcio +, protobuf +}: + +buildPythonPackage rec { + pname = "grpcio-health-checking"; + version = "1.56.2"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-XNodihNovizaBPkoSotzzuCf8+J37sjd2avPL+92s3I="; + }; + + propagatedBuildInputs = [ + grpcio + protobuf + ]; + + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + pythonRelaxDeps = [ + "grpcio" + ]; + + pythonImportsCheck = [ "grpc_health" ]; + + # no tests + doCheck = false; + + meta = with lib; { + description = "Standard Health Checking Service for gRPC"; + homepage = "https://pypi.org/project/grpcio-health-checking/"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ happysalada ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c7f31bc3e18..0452b44a7af 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4517,6 +4517,8 @@ self: super: with self; { grpcio-channelz = callPackage ../development/python-modules/grpcio-channelz { }; + grpcio-health-checking = callPackage ../development/python-modules/grpcio-health-checking { }; + grpcio-gcp = callPackage ../development/python-modules/grpcio-gcp { }; grpcio-status = callPackage ../development/python-modules/grpcio-status { };