blob: bd7e126de6a1d56b369eb40b061d6cb238971ddd (
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
|
{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
pyzipper,
setuptools,
striprtf,
}:
buildPythonPackage rec {
pname = "xknxproject";
version = "3.7.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "XKNX";
repo = "xknxproject";
rev = "refs/tags/${version}";
hash = "sha256-/Zg4MYOvbsbJ0zyKuq+gX0PNbm8TyyBMziIaGCq6Lt8=";
};
build-system = [ setuptools ];
dependencies = [
cryptography
pyzipper
striprtf
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "xknxproject" ];
meta = with lib; {
description = "Library to extract KNX projects and parses the underlying XML";
homepage = "https://github.com/XKNX/xknxproject";
changelog = "https://github.com/XKNX/xknxproject/releases/tag/${version}";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}
|