blob: 8c02198e9b5a1116ea68442bb349dc1049ad36c6 (
plain) (
blame)
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
, backoff
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pyserial
, pyserial-asyncio
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "velbus-aio";
version = "2023.12.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Cereal2nd";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-cYqEF2Odouu7U0DiU+n/gKUYJia8I4Qs1l+UI6JrWTM=";
fetchSubmodules = true;
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
backoff
pyserial
pyserial-asyncio
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"velbusaio"
];
meta = with lib; {
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/${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}
|