depot/third_party/nixpkgs/pkgs/development/python-modules/grpcio-channelz/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

42 lines
791 B
Nix

{ lib
, buildPythonPackage
, pythonRelaxDepsHook
, fetchPypi
, grpcio
, protobuf
}:
buildPythonPackage rec {
pname = "grpcio-channelz";
version = "1.62.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-e+8XBt/tt4lNbgNGemBjrBCxUAR7aWXi+0gU1MKmQkU=";
};
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 ];
};
}