depot/third_party/nixpkgs/pkgs/development/python-modules/grpcio-health-checking/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

38 lines
750 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
grpcio,
protobuf,
}:
buildPythonPackage rec {
pname = "grpcio-health-checking";
version = "1.66.2";
format = "setuptools";
src = fetchPypi {
pname = "grpcio_health_checking";
inherit version;
hash = "sha256-yQ35YiRWBC7DSV03qzC190ckqsW11VMU8HPu9eJHChM=";
};
propagatedBuildInputs = [
grpcio
protobuf
];
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 ];
};
}