diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2016-06-26 17:26:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-26 17:26:35 +0200 |
commit | 9318634b726ec7edf055da6f4c13e47272e36b40 (patch) | |
tree | e3123ade52546baf90d3fc45a480aca49cac8e1c /pkgs | |
parent | 94337bb86810cbc7a7c4c0861fc471359ee29c75 (diff) | |
parent | 8c10d146af8a8669f439ea6ec90d578d9e31942f (diff) | |
download | nixlib-9318634b726ec7edf055da6f4c13e47272e36b40.tar nixlib-9318634b726ec7edf055da6f4c13e47272e36b40.tar.gz nixlib-9318634b726ec7edf055da6f4c13e47272e36b40.tar.bz2 nixlib-9318634b726ec7edf055da6f4c13e47272e36b40.tar.lz nixlib-9318634b726ec7edf055da6f4c13e47272e36b40.tar.xz nixlib-9318634b726ec7edf055da6f4c13e47272e36b40.tar.zst nixlib-9318634b726ec7edf055da6f4c13e47272e36b40.zip |
Merge pull request #16479 from bcdarwin/nilearn
pythonPackages.nilearn: init at 2.5.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e3c31ef461c1..6f429361f2a3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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}"; |