python3Packages.velbus-aio: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-03-04 09:24:55 +01:00
committed by GitHub
parent e29ec4722e
commit f96dfc7754
@@ -14,7 +14,7 @@
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "velbus-aio";
version = "2026.2.0";
pyproject = true;
@@ -22,7 +22,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "Cereal2nd";
repo = "velbus-aio";
tag = version;
tag = finalAttrs.version;
hash = "sha256-lQl5f7O6ZMfYGleyOESSbW87RPS7eBi3YZqCAcQfLow=";
fetchSubmodules = true;
};
@@ -49,8 +49,8 @@ buildPythonPackage rec {
meta = {
description = "Python library to support the Velbus home automation system";
homepage = "https://github.com/Cereal2nd/velbus-aio";
changelog = "https://github.com/Cereal2nd/velbus-aio/releases/tag/${src.tag}";
changelog = "https://github.com/Cereal2nd/velbus-aio/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})