blob: f097ff3f4bc55b9ae30705dc35b849fca860bf32 (
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
|
{
lib,
async-timeout,
buildPythonPackage,
colorlog,
fetchPypi,
pyserial,
}:
buildPythonPackage rec {
pname = "pyenvisalink";
version = "4.8";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-IgYOlH0mYqhRLTO3McBAstChqYWHQkwuOVPL8gKdcTo=";
};
propagatedBuildInputs = [
async-timeout
colorlog
pyserial
];
# Tests require an Envisalink device
doCheck = false;
pythonImportsCheck = [ "pyenvisalink" ];
meta = {
description = "Python interface for Envisalink 2DS/3 Alarm API";
homepage = "https://github.com/Cinntax/pyenvisalink";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|