diff --git a/pkgs/development/python-modules/xknxproject/default.nix b/pkgs/development/python-modules/xknxproject/default.nix index e548da6e5d16..bd7e126de6a1 100644 --- a/pkgs/development/python-modules/xknxproject/default.nix +++ b/pkgs/development/python-modules/xknxproject/default.nix @@ -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;