Skip to content

Commit

Permalink
Merge pull request #16479 from bcdarwin/nilearn
Browse files Browse the repository at this point in the history
pythonPackages.nilearn: init at 2.5.0
  • Loading branch information
FRidh committed Jun 26, 2016
2 parents 94337bb + 8c10d14 commit 9318634
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -13654,6 +13654,37 @@ in modules // {
};
};

nilearn = buildPythonPackage rec {
version = "0.2.5";
name = "nilearn-${version}";

# package seems to attempt Python 3 compatibility, but throws UnicodeDecodeError when building:
disabled = isPy3k;

src = pkgs.fetchurl {
url = "mirror://pypi/n/nilearn/${name}.tar.gz";
sha256 = "1lmkrzr5x2yp129v2fvckrbdzf2kpcivdg9cacl519l3mb0acdv9";
};

checkPhase = "nosetests --exclude with_expand_user nilearn/tests";

buildInputs = with self; [ nose ];

propagatedBuildInputs = with self; [
matplotlib
nibabel
numpy
scikitlearn
scipy
];

meta = {
homepage = http://nilearn.github.io;
description = "A module for statistical learning on neuroimaging data";
license = licenses.bsd3;
};
};

nipy = buildPythonPackage rec {
version = "0.4.0";
name = "nipy-${version}";
Expand Down

0 comments on commit 9318634

Please sign in to comment.