2020-11-17 21:37:22 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, matplotlib
|
2021-05-14 19:46:36 +01:00
|
|
|
, nibabel, numpy, pandas, scikit-learn, scipy, joblib, requests }:
|
2017-09-15 21:48:53 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nilearn";
|
2021-03-24 09:28:18 +00:00
|
|
|
version = "0.7.1";
|
2017-09-15 21:48:53 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:18 +00:00
|
|
|
sha256 = "8b1409a5e1f0f6d1a1f02555c2f11115a2364f45f1e57bcb5fb3c9ea11f346fa";
|
2017-09-15 21:48:53 +01:00
|
|
|
};
|
|
|
|
|
2020-11-17 21:37:22 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608
|
2017-09-15 21:48:53 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-01-27 18:52:02 +00:00
|
|
|
joblib
|
2017-09-15 21:48:53 +01:00
|
|
|
matplotlib
|
|
|
|
nibabel
|
|
|
|
numpy
|
2020-01-27 18:52:02 +00:00
|
|
|
pandas
|
2020-11-17 21:37:22 +00:00
|
|
|
requests
|
2021-05-14 19:46:36 +01:00
|
|
|
scikit-learn
|
2017-09-15 21:48:53 +01:00
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
2020-11-17 21:37:22 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://nilearn.github.io";
|
2017-09-15 21:48:53 +01:00
|
|
|
description = "A module for statistical learning on neuroimaging data";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|