python313Packages.whirlpool-sixth-sense: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-08 21:49:26 +01:00
committed by GitHub
parent fd6dd78f91
commit ca65cb5753
@@ -13,7 +13,7 @@
websockets,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "whirlpool-sixth-sense";
version = "1.2.0";
pyproject = true;
@@ -21,7 +21,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "abmantis";
repo = "whirlpool-sixth-sense";
tag = version;
tag = finalAttrs.version;
hash = "sha256-uX1Q4F6pcc/mPdopPgyU63p4yeo9YPmUGbn0sxW09Yo=";
};
@@ -46,8 +46,8 @@ buildPythonPackage rec {
meta = {
description = "Python library for Whirlpool 6th Sense appliances";
homepage = "https://github.com/abmantis/whirlpool-sixth-sense/";
changelog = "https://github.com/abmantis/whirlpool-sixth-sense/releases/tag/${src.tag}";
changelog = "https://github.com/abmantis/whirlpool-sixth-sense/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})