1{ stdenv, buildPythonPackage, fetchPypi, nose, nibabel, numpy, scikitlearn 2, scipy, matplotlib }: 3 4buildPythonPackage rec { 5 pname = "nilearn"; 6 version = "0.4.0"; 7 name = pname + "-" + version; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "bb692254bde35d7e1d3d1534d9b3117810b35a744724625f150fbbc64d519c02"; 12 }; 13 14 checkPhase = "nosetests --exclude with_expand_user nilearn/tests"; 15 16 buildInputs = [ nose ]; 17 18 propagatedBuildInputs = [ 19 matplotlib 20 nibabel 21 numpy 22 scikitlearn 23 scipy 24 ]; 25 26 meta = with stdenv.lib; { 27 homepage = http://nilearn.github.io; 28 description = "A module for statistical learning on neuroimaging data"; 29 license = licenses.bsd3; 30 }; 31}