mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
fa83ed462a
Only recurse into `nilearn/`, not e.g. `examples/`, which triggers (non-mocked) data downloads.
34 lines
816 B
Nix
34 lines
816 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, matplotlib
|
|
, nibabel, numpy, pandas, scikit-learn, scipy, joblib, requests }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nilearn";
|
|
version = "0.8.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a0489940855130f35bbc4cac0750479a6f82025215ea7b1d778faca064219298";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608
|
|
pytestFlagsArray = [ "nilearn" ];
|
|
|
|
propagatedBuildInputs = [
|
|
joblib
|
|
matplotlib
|
|
nibabel
|
|
numpy
|
|
pandas
|
|
requests
|
|
scikit-learn
|
|
scipy
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://nilearn.github.io";
|
|
description = "A module for statistical learning on neuroimaging data";
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|