blob: 821e77483f54cc7ef6242db0c6d4d507d3e1ced7 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
aiohttp,
mashumaro,
aiofiles,
aioresponses,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "airos";
version = "0.6.2";
pyproject = true;
disabled = pythonOlder "3.13";
src = fetchFromGitHub {
owner = "CoMPaTech";
repo = "python-airos";
tag = "v${finalAttrs.version}";
hash = "sha256-tzdWcqXi0dcTKNAdhTOGz89spf+29qORjyyBGB/eD8U=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
mashumaro
];
nativeCheckInputs = [
aiofiles
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "airos" ];
meta = {
description = "Ubiquity airOS module(s) for Python 3";
homepage = "https://github.com/CoMPaTech/python-airos";
changelog = "https://github.com/CoMPaTech/python-airos/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
|