blob: 72b74ddf84fe30dd7a4a2b1273778640b158ed6e (
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
|
{
lib,
aiofile,
backoff,
beautifulsoup4,
buildPythonPackage,
fetchFromGitHub,
lxml,
pyserial,
pyserial-asyncio-fast,
pytest-asyncio,
pytestCheckHook,
setuptools,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "velbus-aio";
version = "2026.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Cereal2nd";
repo = "velbus-aio";
tag = version;
hash = "sha256-zUxY/AhgUJrcaXf0sQp+1rB/jVRncqrqHWfW8ppNu8Y=";
fetchSubmodules = true;
};
build-system = [ setuptools ];
dependencies = [
aiofile
backoff
beautifulsoup4
lxml
pyserial
pyserial-asyncio-fast
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
writableTmpDirAsHomeHook
];
pythonImportsCheck = [ "velbusaio" ];
meta = {
description = "Python library to support the Velbus home automation system";
homepage = "https://github.com/Cereal2nd/velbus-aio";
changelog = "https://github.com/Cereal2nd/velbus-aio/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|