Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 32 lines 780 B view raw
1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, matplotlib 2, nibabel, numpy, pandas, scikit-learn, scipy, joblib, requests }: 3 4buildPythonPackage rec { 5 pname = "nilearn"; 6 version = "0.7.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "8b1409a5e1f0f6d1a1f02555c2f11115a2364f45f1e57bcb5fb3c9ea11f346fa"; 11 }; 12 13 checkInputs = [ pytestCheckHook ]; 14 disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608 15 16 propagatedBuildInputs = [ 17 joblib 18 matplotlib 19 nibabel 20 numpy 21 pandas 22 requests 23 scikit-learn 24 scipy 25 ]; 26 27 meta = with lib; { 28 homepage = "https://nilearn.github.io"; 29 description = "A module for statistical learning on neuroimaging data"; 30 license = licenses.bsd3; 31 }; 32}