python3Packages.niworks: cleanup
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user