2020-11-30 08:33:03 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, matplotlib
|
|
|
|
, nibabel, numpy, pandas, scikitlearn, scipy, joblib, requests }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nilearn";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "0.7.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "8b1409a5e1f0f6d1a1f02555c2f11115a2364f45f1e57bcb5fb3c9ea11f346fa";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
joblib
|
|
|
|
matplotlib
|
|
|
|
nibabel
|
|
|
|
numpy
|
|
|
|
pandas
|
2020-11-30 08:33:03 +00:00
|
|
|
requests
|
2020-04-24 23:36:52 +00:00
|
|
|
scikitlearn
|
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://nilearn.github.io";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A module for statistical learning on neuroimaging data";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|