python3Packages.velbus-aio: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user