From 63c5128587fef9c6903ff95cf8edcce42bccb60a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 10 Jan 2026 21:29:45 +0100 Subject: [PATCH] python313Packages.hyper-connections: migrate to finalAttrs --- .../python-modules/hyper-connections/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/hyper-connections/default.nix b/pkgs/development/python-modules/hyper-connections/default.nix index 1bc4ab579c93..d355145b81e7 100644 --- a/pkgs/development/python-modules/hyper-connections/default.nix +++ b/pkgs/development/python-modules/hyper-connections/default.nix @@ -8,7 +8,7 @@ torch, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "hyper-connections"; version = "0.4.0"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "lucidrains"; repo = "hyper-connections"; - tag = version; + tag = finalAttrs.version; hash = "sha256-nMNAuHOLOgrWNrMFko5ARBOyp9TyUhJfldPihV012K4="; }; @@ -34,8 +34,8 @@ buildPythonPackage rec { meta = { description = "Module to make multiple residual streams"; homepage = "https://github.com/lucidrains/hyper-connections"; - changelog = "https://github.com/lucidrains/hyper-connections/releases/tag/${src.tag}"; + changelog = "https://github.com/lucidrains/hyper-connections/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})