Diff: https://github.com/XKNX/xknxproject/compare/refs/tags/3.1.1...3.2.0 Changelog: https://github.com/XKNX/xknxproject/releases/tag/3.2.0
50 lines
914 B
Nix
50 lines
914 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cryptography
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, pyzipper
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "xknxproject";
|
|
version = "3.2.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "XKNX";
|
|
repo = "xknxproject";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-ZLBvhuLXEOgqS7tRwP/e1Dv1/EMqxqXgpAZtLQGIt/o=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography
|
|
pyzipper
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|