diff --git a/pkgs/development/python-modules/grpcio-channelz/default.nix b/pkgs/development/python-modules/grpcio-channelz/default.nix new file mode 100644 index 00000000000..cee3a2e159d --- /dev/null +++ b/pkgs/development/python-modules/grpcio-channelz/default.nix @@ -0,0 +1,42 @@ +{ lib +, buildPythonPackage +, pythonRelaxDepsHook +, fetchPypi +, grpcio +, protobuf +}: + +buildPythonPackage rec { + pname = "grpcio-channelz"; + version = "1.56.2"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-PlPGrD16Iy5vCsuVsFQ3FHd+wu0FJCFbo7isvYtVAQU="; + }; + + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + pythonRelaxDeps = [ + "grpcio" + ]; + + propagatedBuildInputs = [ + grpcio + protobuf + ]; + + pythonImportsCheck = [ "grpc_channelz" ]; + + # no tests + doCheck = false; + + meta = with lib; { + description = "Channel Level Live Debug Information Service for gRPC"; + homepage = "https://pypi.org/project/grpcio-channelz"; + 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 62de51edf56..c7f31bc3e18 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4515,6 +4515,8 @@ self: super: with self; { grpcio = callPackage ../development/python-modules/grpcio { }; + grpcio-channelz = callPackage ../development/python-modules/grpcio-channelz { }; + grpcio-gcp = callPackage ../development/python-modules/grpcio-gcp { }; grpcio-status = callPackage ../development/python-modules/grpcio-status { };