nixpkgs/pkgs/development/python-modules/nilearn/default.nix

33 lines
766 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, matplotlib
, nibabel, numpy, pandas, scikitlearn, scipy, joblib, requests }:
2017-09-15 21:48:53 +01:00
buildPythonPackage rec {
pname = "nilearn";
version = "0.7.0";
2017-09-15 21:48:53 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "1rhpy6na7hkhc211ri14zghvmb2fxkh995wi09pkc68klf1dzjg7";
2017-09-15 21:48:53 +01:00
};
checkInputs = [ pytestCheckHook ];
disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608
2017-09-15 21:48:53 +01:00
propagatedBuildInputs = [
joblib
2017-09-15 21:48:53 +01:00
matplotlib
nibabel
numpy
pandas
requests
2017-09-15 21:48:53 +01:00
scikitlearn
scipy
];
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;
};
}