depot/third_party/nixpkgs/pkgs/development/python-modules/grpcio-health-checking/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

42 lines
792 B
Nix

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