Files
nixpkgs/pkgs/development/python-modules/grpcio-health-checking/default.nix

42 lines
892 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.80.0";
format = "setuptools";
src = fetchPypi {
pname = "grpcio_health_checking";
inherit version;
hash = "sha256-LMXwi8i4FrhlWrb1nHFFAGO6IHZtMeIaST6RLjVgyLE=";
};
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 = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ happysalada ];
};
}