2023-07-23 14:06:17 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonRelaxDepsHook
|
|
|
|
, fetchPypi
|
|
|
|
, grpcio
|
|
|
|
, protobuf
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "grpcio-health-checking";
|
2023-12-20 01:43:10 +01:00
|
|
|
version = "1.60.0";
|
2023-07-23 14:06:17 +02:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-12-20 01:43:10 +01:00
|
|
|
hash = "sha256-R4tTAHeBIP7Z9tE01ysVeln5wGaJeJIYy/9H+vyi8Rk=";
|
2023-07-23 14:06:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
grpcio
|
|
|
|
protobuf
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pythonRelaxDepsHook
|
|
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
|
|
"grpcio"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "grpc_health" ];
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Standard Health Checking Service for gRPC";
|
|
|
|
homepage = "https://pypi.org/project/grpcio-health-checking/";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ happysalada ];
|
|
|
|
};
|
|
|
|
}
|