1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 poetry-core,
6 aiohttp,
7}:
8
9buildPythonPackage 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}