blob: 88f13e0344f16031c1e79b172c864e2a2ede89e0 (
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,
buildPythonPackage,
dicttoxml2,
fetchFromGitHub,
xmltodict,
}:
buildPythonPackage rec {
pname = "pyialarm";
version = "2.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "RyuzakiKK";
repo = "pyialarm";
rev = "v${version}";
hash = "sha256-rOdeYewjoFVbHdNPHN6ZC2g6X5yr84/JFE6tGSDIoRU=";
};
propagatedBuildInputs = [
dicttoxml2
xmltodict
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyialarm" ];
meta = {
description = "Python library to interface with Antifurto365 iAlarm systems";
homepage = "https://github.com/RyuzakiKK/pyialarm";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|