blob: 7acfd53df8e694cb4c6ed96143283a0a5598480b (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pyserial,
pythonOlder,
}:
buildPythonPackage rec {
pname = "python-velbus";
version = "2.1.14";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-3eDfXPMO167QI/umLBjlHTBV67XQ8QYkg4EzfrRTw6M=";
};
propagatedBuildInputs = [ pyserial ];
# Project has not tests
doCheck = false;
pythonImportsCheck = [ "velbus" ];
meta = {
description = "Python library to control the Velbus home automation system";
homepage = "https://github.com/thomasdelaet/python-velbus";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|