python311Packages.nilearn: unbreak and cleanup
This commit is contained in:
parent
1e3d77cb20
commit
cfd369a880
@ -1,15 +1,34 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, lxml, matplotlib
|
||||
, nibabel, numpy, pandas, scikit-learn, scipy, joblib, requests }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, hatch-vcs
|
||||
, lxml
|
||||
, matplotlib
|
||||
, nibabel
|
||||
, numpy
|
||||
, pandas
|
||||
, scikit-learn
|
||||
, scipy
|
||||
, joblib
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nilearn";
|
||||
version = "0.10.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-koo2Tn7XfRXQK38icZfqfHj0Ty/ngP61VdbXz5Iy+EY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ hatch-vcs ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608
|
||||
# do subset of tests which don't fetch resources
|
||||
@ -30,6 +49,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://nilearn.github.io";
|
||||
description = "A module for statistical learning on neuroimaging data";
|
||||
changelog = "https://github.com/nilearn/nilearn/releases/tag/${version}";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user