python3Packages.gatus-api: init at 1.2.0

This commit is contained in:
Jamie Magee
2026-08-10 14:13:04 -07:00
parent dd392022b5
commit 29438842d6
2 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytest-aiohttp,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "gatus-api";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "TN-1";
repo = "gatus-api";
tag = "V${finalAttrs.version}";
hash = "sha256-BJ5Kzfo7REmADEkgnWrhbqObR6hyLr/fBiz18A81V+k=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
pytest-aiohttp
pytestCheckHook
];
pythonImportsCheck = [ "gatus_api" ];
__darwinAllowLocalNetworking = true;
meta = {
description = "Asynchronous Python client for the Gatus API";
homepage = "https://github.com/TN-1/gatus-api";
changelog = "https://github.com/TN-1/gatus-api/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})

View File

@@ -6563,6 +6563,8 @@ self: super: with self; {
inherit (pkgs) bluez glib pkg-config;
};
gatus-api = callPackage ../development/python-modules/gatus-api { };
gawd = callPackage ../development/python-modules/gawd { };
gb-io = callPackage ../development/python-modules/gb-io { };