python313Packages.hyper-connections: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-10 21:29:45 +01:00
committed by GitHub
parent e36ab53ae3
commit 63c5128587
@@ -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 ];
};
}
})