From ca65cb5753ec488bc99bc48134e79fe24c048be2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 8 Feb 2026 21:49:26 +0100 Subject: [PATCH] python313Packages.whirlpool-sixth-sense: migrate to finalAttrs --- .../python-modules/whirlpool-sixth-sense/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix b/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix index 2146f18caaff..fafe7cfeaa1c 100644 --- a/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix +++ b/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix @@ -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 ]; }; -} +})