504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
42 lines
791 B
Nix
42 lines
791 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonRelaxDepsHook
|
|
, fetchPypi
|
|
, grpcio
|
|
, protobuf
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "grpcio-channelz";
|
|
version = "1.60.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-TRTHMDUm50cmFJ0BX1zwd34xCVsuyejqp7hHc33LYKA=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|