python313Packages.xknx: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-13 07:56:37 +01:00
parent f4a33d4392
commit 2bb9a43dad
@@ -10,7 +10,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "xknx";
version = "3.14.0";
pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "XKNX";
repo = "xknx";
tag = version;
tag = finalAttrs.version;
hash = "sha256-22xKxdjf0WEF2efHiGCYVhTCZ5jrD+26oqBdlxHwYdU=";
};
@@ -55,9 +55,9 @@ buildPythonPackage rec {
packets. It provides support for KNX/IP routing and tunneling devices.
'';
homepage = "https://github.com/XKNX/xknx";
changelog = "https://github.com/XKNX/xknx/releases/tag/${src.tag}";
changelog = "https://github.com/XKNX/xknx/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
platforms = lib.platforms.linux;
};
}
})