mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #16479 from bcdarwin/nilearn
pythonPackages.nilearn: init at 2.5.0
This commit is contained in:
commit
9318634b72
1 changed files with 31 additions and 0 deletions
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue