5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
53 lines
956 B
Nix
53 lines
956 B
Nix
{ 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 ];
|
|
};
|
|
}
|