Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / xknxproject / default.nix
blob56d08ad5146d64461888a77932c7d0b4f4052ea1
1 { lib
2 , buildPythonPackage
3 , cryptography
4 , fetchFromGitHub
5 , pytestCheckHook
6 , pythonOlder
7 , pyzipper
8 , setuptools
9 , striprtf
10 , wheel
13 buildPythonPackage rec {
14   pname = "xknxproject";
15   version = "3.4.1";
16   format = "pyproject";
18   disabled = pythonOlder "3.9";
20   src = fetchFromGitHub {
21     owner = "XKNX";
22     repo = "xknxproject";
23     rev = "refs/tags/${version}";
24     hash = "sha256-J257Y8Y0mVtlFHiHju5lxPyV0yx3IAYH8ikbmZlI3fY=";
25   };
27   nativeBuildInputs = [
28     setuptools
29     wheel
30   ];
32   propagatedBuildInputs = [
33     cryptography
34     pyzipper
35     striprtf
36   ];
38   nativeCheckInputs = [
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [
43     "xknxproject"
44   ];
46   meta = with lib; {
47     description = "ETS project parser";
48     homepage = "https://github.com/XKNX/xknxproject";
49     changelog = "https://github.com/XKNX/xknxproject/releases/tag/${version}";
50     license = licenses.gpl2Only;
51     maintainers = with maintainers; [ fab ];
52   };