Files
nixpkgs/pkgs/development/python-modules/hyper-connections/default.nix
T
Martin Weinelt 50e6bfdf13 python3Packages.hyper-connections: 0.4.5 -> 0.4.7
This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:18 +01:00

42 lines
900 B
Nix

{
lib,
buildPythonPackage,
einops,
fetchFromGitHub,
hatchling,
pytestCheckHook,
torch,
}:
buildPythonPackage (finalAttrs: {
pname = "hyper-connections";
version = "0.4.7";
pyproject = true;
src = fetchFromGitHub {
owner = "lucidrains";
repo = "hyper-connections";
tag = finalAttrs.version;
hash = "sha256-x1Yx9Fnow9154kFGLmjeCBLYJsbv6oJiC6Rk1XudqJQ=";
};
build-system = [ hatchling ];
dependencies = [
einops
torch
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hyper_connections" ];
meta = {
description = "Module to make multiple residual streams";
homepage = "https://github.com/lucidrains/hyper-connections";
changelog = "https://github.com/lucidrains/hyper-connections/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})