42 lines
882 B
Nix
42 lines
882 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
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-health-checking";
|
|
version = "1.82.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "grpcio_health_checking";
|
|
inherit version;
|
|
hash = "sha256-hiVeBOHTnxyXpmMtQbYySTUUCN5cWOhe7eh6/X2YKN0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
grpcio
|
|
protobuf
|
|
];
|
|
|
|
pythonRelaxDeps = [ "grpcio" ];
|
|
|
|
pythonImportsCheck = [ "grpc_health" ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Standard Health Checking Service for gRPC";
|
|
homepage = "https://pypi.org/project/grpcio-health-checking/";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ happysalada ];
|
|
};
|
|
}
|