Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 76 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatch-vcs, hatchling,
# dependencies joblib, lxml, nibabel, numpy, pandas, requests, scikit-learn, scipy, packaging,
pytestCheckHook, pytest-timeout, numpydoc,}:
buildPythonPackage (finalAttrs: { pname = "nilearn"; version = "0.13.1"; pyproject = true;
src = fetchFromGitHub { owner = "nilearn"; repo = "nilearn"; tag = finalAttrs.version; hash = "sha256-AStjr+rQoUU4WjKbn+OgT+T+xQ3cTjkKxgF6jX3SX64="; };
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/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; };})