From 63e5477e61bebb1de93e824da3a8c5c68975a140 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Jan 2026 00:03:51 +0100 Subject: [PATCH] python313Packages.homematicip: migrate to finalAttrs --- pkgs/development/python-modules/homematicip/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/homematicip/default.nix b/pkgs/development/python-modules/homematicip/default.nix index a71dbeb504da..1f0525638641 100644 --- a/pkgs/development/python-modules/homematicip/default.nix +++ b/pkgs/development/python-modules/homematicip/default.nix @@ -14,7 +14,7 @@ websockets, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "homematicip"; version = "2.5.0"; pyproject = true; @@ -24,7 +24,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "hahn-th"; repo = "homematicip-rest-api"; - tag = version; + tag = finalAttrs.version; hash = "sha256-UdVOYJyWLtqJaZgiRa3M9JL+gPzZeecZwElBXqrAdFM="; }; @@ -79,8 +79,8 @@ buildPythonPackage rec { meta = { description = "Module for the homematicIP REST API"; homepage = "https://github.com/hahn-th/homematicip-rest-api"; - changelog = "https://github.com/hahn-th/homematicip-rest-api/releases/tag/${src.tag}"; + changelog = "https://github.com/hahn-th/homematicip-rest-api/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ fab ]; }; -} +})