blob: 82d570be73a5a9945513b360e60fe6e9cd0b9388 (
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
|
{
lib,
aiohttp,
bitstruct,
buildPythonPackage,
cryptography,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
setuptools,
typing-extensions,
voluptuous,
}:
buildPythonPackage (finalAttrs: {
pname = "python-otbr-api";
version = "2.7.1";
pyproject = true;
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "python-otbr-api";
tag = finalAttrs.version;
hash = "sha256-hFWFi64mRJL5487N6Xm6EQVVaYEzsdg9P2QZYEn758k=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
bitstruct
cryptography
typing-extensions
voluptuous
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "python_otbr_api" ];
meta = {
description = "Library for the Open Thread Border Router";
homepage = "https://github.com/home-assistant-libs/python-otbr-api";
changelog = "https://github.com/home-assistant-libs/python-otbr-api/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
|