mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
47 lines
939 B
Nix
47 lines
939 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.81.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "grpcio_channelz";
|
|
inherit version;
|
|
hash = "sha256-V6Gr5QURNJv9iafEJtHbaRmOLJzUcbr2wNVgbDTbmt8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonRelaxDeps = [
|
|
"grpcio"
|
|
"protobuf"
|
|
];
|
|
|
|
dependencies = [
|
|
grpcio
|
|
protobuf
|
|
];
|
|
|
|
pythonImportsCheck = [ "grpc_channelz" ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Channel Level Live Debug Information Service for gRPC";
|
|
homepage = "https://pypi.org/project/grpcio-channelz";
|
|
license = with lib.licenses; [ asl20 ];
|
|
maintainers = with lib.maintainers; [ happysalada ];
|
|
};
|
|
}
|