blob: 70bd17312027fd2189f278483561912135139ef6 (
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
54
55
56
57
58
|
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
incremental,
pythonOlder,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "aiolyric";
version = "2.0.2";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "timmo001";
repo = "aiolyric";
tag = version;
hash = "sha256-k0UE9SXHS8lPu3kC+tGtn99rCU2hq+fdCsp6f83+gv4=";
};
build-system = [
incremental
setuptools
];
dependencies = [
aiohttp
incremental
];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aiolyric" ];
disabledTestPaths = [
# _version file is no shipped
"tests/test__version.py"
];
meta = {
description = "Python module for the Honeywell Lyric Platform";
homepage = "https://github.com/timmo001/aiolyric";
changelog = "https://github.com/timmo001/aiolyric/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|