1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, matplotlib 2, nibabel, numpy, pandas, scikit-learn, scipy, joblib, requests }: 3 4buildPythonPackage rec { 5 pname = "nilearn"; 6 version = "0.8.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "a0489940855130f35bbc4cac0750479a6f82025215ea7b1d778faca064219298"; 11 }; 12 13 checkInputs = [ pytestCheckHook ]; 14 disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608 15 16 propagatedBuildInputs = [ 17 joblib 18 matplotlib 19 nibabel 20 numpy 21 pandas 22 requests 23 scikit-learn 24 scipy 25 ]; 26 27 meta = with lib; { 28 homepage = "https://nilearn.github.io"; 29 description = "A module for statistical learning on neuroimaging data"; 30 license = licenses.bsd3; 31 }; 32}