Skip to content

Commit a33afb9

Browse files
python3Packages.apykuma: init at 1.2.0 (#382316)
2 parents e28e308 + 3ea0546 commit a33afb9

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
@@ -766,6 +766,8 @@ self: super: with self; {
766766

767767
apycula = callPackage ../development/python-modules/apycula { };
768768

769+
apykuma = callPackage ../development/python-modules/apykuma { };
770+
769771
aqipy-atmotech = callPackage ../development/python-modules/aqipy-atmotech { };
770772

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

0 commit comments

Comments
 (0)