blob: 64ad5a1ebf821b625db0c01e867c287cb94ed7c3 (
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
53
|
{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, pyzipper
, setuptools
, striprtf
, wheel
}:
buildPythonPackage rec {
pname = "xknxproject";
version = "3.3.0";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "XKNX";
repo = "xknxproject";
rev = "refs/tags/${version}";
hash = "sha256-RH5RQHLpfrI9fRg6OfPZ7/BPHQuHCrkJlwW/EJitdPo=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
cryptography
pyzipper
striprtf
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"xknxproject"
];
meta = with lib; {
description = "ETS project parser";
homepage = "https://github.com/XKNX/xknxproject";
changelog = "https://github.com/XKNX/xknxproject/releases/tag/${version}";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}
|