48 lines
941 B
Nix
48 lines
941 B
Nix
|
{
|
||
|
lib,
|
||
|
buildPythonPackage,
|
||
|
fetchPypi,
|
||
|
setuptools,
|
||
|
grpcio,
|
||
|
protobuf,
|
||
|
}:
|
||
|
|
||
|
# This package should be updated together with the main grpc package and other
|
||
|
# related python grpc packages.
|
||
|
# nixpkgs-update: no auto update
|
||
|
buildPythonPackage rec {
|
||
|
pname = "grpcio-channelz";
|
||
|
version = "1.66.2";
|
||
|
pyproject = true;
|
||
|
|
||
|
src = fetchPypi {
|
||
|
pname = "grpcio_channelz";
|
||
|
inherit version;
|
||
|
hash = "sha256-SQTHg3UjQ2YkiV2QYmlPKQt/Mzg7KWoex8SXtuTH7Rk=";
|
||
|
};
|
||
|
|
||
|
build-system = [ setuptools ];
|
||
|
|
||
|
pythonRelaxDeps = [
|
||
|
"grpcio"
|
||
|
"protobuf"
|
||
|
];
|
||
|
|
||
|
dependencies = [
|
||
|
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 ];
|
||
|
};
|
||
|
}
|