blob: c011ea208276bccfdbcf89199856e559bd04417a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatch-regex-commit,
hatchling,
lib,
mashumaro,
orjson,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "aiontfy";
version = "0.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "tr4nt0r";
repo = "aiontfy";
tag = "v${version}";
hash = "sha256-43sl9jCJErROEOIllUFizG6IIBpFWCQTRyJP+0u1z+M=";
};
build-system = [
hatch-regex-commit
hatchling
];
dependencies = [
aiohttp
mashumaro
orjson
];
pythonImportsCheck = [ "aiontfy" ];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
meta = {
changelog = "https://github.com/tr4nt0r/aiontfy/releases/tag/${src.tag}";
description = "Async ntfy client library";
homepage = "https://github.com/tr4nt0r/aiontfy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|