Merge pull request #302299 from fabaff/xknxproject-bump

python312Packages.xknxproject: refactor
This commit is contained in:
Fabian Affolter 2024-04-07 22:37:53 +02:00 committed by GitHub
commit 58cbc7d052
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,13 +1,13 @@
{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, pyzipper
, setuptools
, striprtf
, wheel
{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
pyzipper,
setuptools,
striprtf,
}:
buildPythonPackage rec {
@ -24,27 +24,20 @@ buildPythonPackage rec {
hash = "sha256-/Zg4MYOvbsbJ0zyKuq+gX0PNbm8TyyBMziIaGCq6Lt8=";
};
nativeBuildInputs = [
setuptools
wheel
];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
cryptography
pyzipper
striprtf
];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"xknxproject"
];
pythonImportsCheck = [ "xknxproject" ];
meta = with lib; {
description = "ETS project parser";
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;