depot/third_party/nixpkgs/pkgs/development/python-modules/grpcio-health-checking/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

38 lines
750 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
grpcio,
protobuf,
}:
buildPythonPackage rec {
pname = "grpcio-health-checking";
version = "1.65.4";
format = "setuptools";
src = fetchPypi {
pname = "grpcio_health_checking";
inherit version;
hash = "sha256-HoQfbbBaAFGmLMSNQN0tzJ5xdYS7GQSa1R+2cygbnEo=";
};
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 ];
};
}