python313Packages.hyper-connections: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user