python3Packages.niworks: cleanup

This commit is contained in:
Gaetan Lepage
2026-03-01 00:10:41 +00:00
parent 2e4652d29c
commit 734bc96901
@@ -38,7 +38,7 @@
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "niworkflows";
version = "1.14.4";
pyproject = true;
@@ -46,7 +46,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "nipreps";
repo = "niworkflows";
tag = version;
tag = finalAttrs.version;
hash = "sha256-AMUOiIL33kcJtlKT+L5QwcUh8mBBkf80uzOQZFKDauo=";
};
@@ -82,7 +82,7 @@ buildPythonPackage rec {
transforms3d
];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
env.SETUPTOOLS_SCM_PRETEND_VERSION = finalAttrs.version;
nativeCheckInputs = [
pytest-cov-stub
@@ -115,8 +115,8 @@ buildPythonPackage rec {
description = "Common workflows for MRI (anatomical, functional, diffusion, etc.)";
mainProgram = "niworkflows-boldref";
homepage = "https://github.com/nipreps/niworkflows";
changelog = "https://github.com/nipreps/niworkflows/blob/${src.tag}/CHANGES.rst";
changelog = "https://github.com/nipreps/niworkflows/blob/${finalAttrs.src.tag}/CHANGES.rst";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
})