python3Packages.nilearn: 0.13.0 -> 0.13.1 (#495298)
This commit is contained in:
@@ -23,16 +23,16 @@
|
||||
numpydoc,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "nilearn";
|
||||
version = "0.13.0";
|
||||
version = "0.13.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nilearn";
|
||||
repo = "nilearn";
|
||||
tag = version;
|
||||
hash = "sha256-q+glPYxnB3Nd1DtaTzdSEJtgRtRhW+RfZmAeAUL6zX4=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-AStjr+rQoUU4WjKbn+OgT+T+xQ3cTjkKxgF6jX3SX64=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -69,8 +69,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Module for statistical learning on neuroimaging data";
|
||||
homepage = "https://nilearn.github.io";
|
||||
changelog = "https://github.com/nilearn/nilearn/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/nilearn/nilearn/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -2,16 +2,23 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools-scm,
|
||||
hatchling,
|
||||
|
||||
# build-system
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
setuptools-scm,
|
||||
|
||||
writableTmpDirAsHomeHook,
|
||||
|
||||
# dependenices
|
||||
nipreps-versions,
|
||||
platformdirs,
|
||||
pybids,
|
||||
requests,
|
||||
tqdm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "templateflow";
|
||||
version = "25.1.1";
|
||||
pyproject = true;
|
||||
@@ -19,18 +26,23 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "templateflow";
|
||||
repo = "python-client";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-QkscrnSURUnZp+42dtVK++EHbHklmWRixpDRhNhHM50=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools-scm
|
||||
hatchling
|
||||
hatch-vcs
|
||||
hatchling
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
nipreps-versions
|
||||
platformdirs
|
||||
pybids
|
||||
requests
|
||||
tqdm
|
||||
@@ -38,17 +50,13 @@ buildPythonPackage rec {
|
||||
|
||||
doCheck = false; # most tests try to download data
|
||||
|
||||
postFixup = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "templateflow" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://templateflow.org/python-client";
|
||||
description = "Python API to query TemplateFlow via pyBIDS";
|
||||
changelog = "https://github.com/templateflow/python-client/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/templateflow/python-client/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user