mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
python3Packages.gatus-api: init at 1.2.0
This commit is contained in:
43
pkgs/development/python-modules/gatus-api/default.nix
Normal file
43
pkgs/development/python-modules/gatus-api/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user