nixpkgs/pkgs/development/python-modules/nilearn/default.nix

32 lines
708 B
Nix
Raw Normal View History

2017-09-15 21:48:53 +01:00
{ stdenv, buildPythonPackage, fetchPypi, nose, nibabel, numpy, scikitlearn
, scipy, matplotlib }:
buildPythonPackage rec {
pname = "nilearn";
2017-12-30 11:24:57 +00:00
version = "0.4.0";
name = pname + "-" + version;
2017-09-15 21:48:53 +01:00
src = fetchPypi {
inherit pname version;
2017-12-30 11:24:57 +00:00
sha256 = "bb692254bde35d7e1d3d1534d9b3117810b35a744724625f150fbbc64d519c02";
2017-09-15 21:48:53 +01:00
};
checkPhase = "nosetests --exclude with_expand_user nilearn/tests";
buildInputs = [ nose ];
propagatedBuildInputs = [
matplotlib
nibabel
numpy
scikitlearn
scipy
];
meta = with stdenv.lib; {
homepage = http://nilearn.github.io;
description = "A module for statistical learning on neuroimaging data";
license = licenses.bsd3;
};
}