Files
nixpkgs/pkgs/development/python-modules/nilearn/default.nix
T
Martin Weinelt 45f9404ed2 python3Packages.nilearn: 0.12.1 -> 0.13.0
https://github.com/nilearn/nilearn/releases/tag/0.13.0

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:39 +01:00

77 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
# dependencies
joblib,
lxml,
nibabel,
numpy,
pandas,
requests,
scikit-learn,
scipy,
packaging,
pytestCheckHook,
pytest-timeout,
numpydoc,
}:
buildPythonPackage rec {
pname = "nilearn";
version = "0.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nilearn";
repo = "nilearn";
tag = version;
hash = "sha256-q+glPYxnB3Nd1DtaTzdSEJtgRtRhW+RfZmAeAUL6zX4=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail " --template=maint_tools/templates/index.html" ""
'';
build-system = [
hatchling
hatch-vcs
];
dependencies = [
joblib
lxml
nibabel
numpy
pandas
requests
scikit-learn
scipy
packaging
];
nativeCheckInputs = [
pytestCheckHook
pytest-timeout
numpydoc
];
# do subset of tests which don't fetch resources
enabledTestPaths = [ "nilearn/connectome/tests" ];
meta = {
description = "Module for statistical learning on neuroimaging data";
homepage = "https://nilearn.github.io";
changelog = "https://github.com/nilearn/nilearn/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}