From c2e88872866b0216ef5f4e81d358040ecf240363 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 17 Jan 2026 11:02:09 +0100 Subject: [PATCH] python313Packages.pytibber: migrate to finalAttrs --- pkgs/development/python-modules/pytibber/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytibber/default.nix b/pkgs/development/python-modules/pytibber/default.nix index b5df043a1767..4f2eda82a2c1 100644 --- a/pkgs/development/python-modules/pytibber/default.nix +++ b/pkgs/development/python-modules/pytibber/default.nix @@ -11,7 +11,7 @@ websockets, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pytibber"; version = "0.35.0"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Danielhiversen"; repo = "pyTibber"; - tag = version; + tag = finalAttrs.version; hash = "sha256-zipHn6ZLRwRtvTKgJTrTSZwETviwLOPS8rMTRB3fErs="; }; @@ -52,8 +52,8 @@ buildPythonPackage rec { meta = { description = "Python library to communicate with Tibber"; homepage = "https://github.com/Danielhiversen/pyTibber"; - changelog = "https://github.com/Danielhiversen/pyTibber/releases/tag/${src.tag}"; + changelog = "https://github.com/Danielhiversen/pyTibber/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +})