From 0d321ec153a6a66b4966bffccd3fdabfa2c036f3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 18 Jan 2026 01:37:36 +0100 Subject: [PATCH] python313Packages.aiolifx-themes: migrate to finalAttrs --- .../development/python-modules/aiolifx-themes/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiolifx-themes/default.nix b/pkgs/development/python-modules/aiolifx-themes/default.nix index 43e359ece3b1..517e10840aba 100644 --- a/pkgs/development/python-modules/aiolifx-themes/default.nix +++ b/pkgs/development/python-modules/aiolifx-themes/default.nix @@ -11,7 +11,7 @@ pythonOlder, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiolifx-themes"; version = "1.0.3"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Djelibeybi"; repo = "aiolifx-themes"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Y92ze+zrkz+fxQNFFSR5V9sPJMN0/dfIRwT6UhXo0+U="; }; @@ -41,8 +41,8 @@ buildPythonPackage rec { meta = { description = "Color themes for LIFX lights running on aiolifx"; homepage = "https://github.com/Djelibeybi/aiolifx-themes"; - changelog = "https://github.com/Djelibeybi/aiolifx-themes/releases/tag/${src.tag}"; + changelog = "https://github.com/Djelibeybi/aiolifx-themes/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ lukegb ]; }; -} +})