blob: 4aff5398247a29ac0adea2a8a740dbe16e909ebe (
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
|
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pyjwt,
pytest-aiohttp,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "aioghost";
version = "0.4.16";
pyproject = true;
src = fetchFromGitHub {
owner = "TryGhost";
repo = "aioghost";
tag = "v${finalAttrs.version}";
hash = "sha256-ZyRPXtQVOEyKHiX1utIukoayHtCNB/gm8i/gUIEYhtg=";
};
build-system = [ hatchling ];
dependencies = [
aiohttp
pyjwt
];
nativeCheckInputs = [
aioresponses
pytest-aiohttp
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aioghost" ];
meta = {
description = "Async Python client for the Ghost Admin API";
homepage = "https://github.com/TryGhost/aioghost";
changelog = "https://github.com/TryGhost/aioghost/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
|