mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-26 18:40:39 +00:00
42 lines
892 B
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 ];
|
|
};
|
|
}
|