depot/third_party/nixpkgs/pkgs/development/python-modules/grpcio-health-checking/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
788 B
Nix

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