python3Packages.pyworxcloud: migrate to finaAttrs

This commit is contained in:
Fabian Affolter
2026-03-29 13:58:57 +02:00
committed by GitHub
parent 43f0ee29e2
commit 7363813f65
@@ -11,7 +11,7 @@
tzdata,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pyworxcloud";
version = "6.1.1";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "MTrab";
repo = "pyworxcloud";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-z2X0Sj+D9OcrL6tkqNo7pS6wqcmskf4IZENins9c+g4=";
};
@@ -44,11 +44,11 @@ buildPythonPackage rec {
meta = {
description = "Module for integrating with Worx Cloud devices";
homepage = "https://github.com/MTrab/pyworxcloud";
changelog = "https://github.com/MTrab/pyworxcloud/releases/tag/${src.tag}";
changelog = "https://github.com/MTrab/pyworxcloud/releases/tag/${finalAttrs.src.tag}";
license = with lib.licenses; [
gpl3Only
mit
];
maintainers = with lib.maintainers; [ fab ];
};
}
})