Skip to content

Commit 3ea0546

Browse files
committed
python3Packages.apykuma: init at 1.2.0
1 parent ed4f956 commit 3ea0546

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
buildPythonPackage,
5+
poetry-core,
6+
aiohttp,
7+
}:
8+
9+
buildPythonPackage rec {
10+
pname = "apykuma";
11+
version = "1.2.0";
12+
pyproject = true;
13+
14+
src = fetchFromGitHub {
15+
owner = "PerchunPak";
16+
repo = "apykuma";
17+
tag = "v${version}";
18+
hash = "sha256-Dxlyi0syoq+sfgjMLWHhpeKhDFgpfQrp18DJeBjrAEg=";
19+
};
20+
21+
build-system = [
22+
poetry-core
23+
];
24+
25+
dependencies = [
26+
aiohttp
27+
];
28+
29+
# has no tests
30+
doCheck = false;
31+
32+
pythonImportsCheck = [
33+
"apykuma"
34+
];
35+
36+
meta = {
37+
description = "Small library to notify Uptime Kuma that the service is up";
38+
homepage = "https://github.com/PerchunPak/apykuma";
39+
changelog = "https://github.com/PerchunPak/apykuma/blob/v${version}/CHANGELOG.md";
40+
license = lib.licenses.mit;
41+
maintainers = with lib.maintainers; [ perchun ];
42+
};
43+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@ self: super: with self; {
756756

757757
apycula = callPackage ../development/python-modules/apycula { };
758758

759+
apykuma = callPackage ../development/python-modules/apykuma { };
760+
759761
aqipy-atmotech = callPackage ../development/python-modules/aqipy-atmotech { };
760762

761763
aqualogic = callPackage ../development/python-modules/aqualogic { };

0 commit comments

Comments
 (0)