Merge sublime4: 4189 -> 4192; sublime4-dev: 4188 -> 4191 (#378651)
[NixPkgs.git] / pkgs / development / python-modules / nilearn / default.nix
blob87cd5e896100550872d1051012c1073aee57a981
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   pytestCheckHook,
7   hatch-vcs,
8   lxml,
9   matplotlib,
10   nibabel,
11   numpy,
12   pandas,
13   scikit-learn,
14   scipy,
15   joblib,
16   requests,
19 buildPythonPackage rec {
20   pname = "nilearn";
21   version = "0.10.4";
22   pyproject = true;
24   disabled = pythonOlder "3.8";
26   src = fetchPypi {
27     inherit pname version;
28     hash = "sha256-lFC9Vqd22ZezJPRd0Yv5bom9jYAWCXT8x1kzP7rqNcI=";
29   };
31   nativeBuildInputs = [ hatch-vcs ];
33   nativeCheckInputs = [ pytestCheckHook ];
34   disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608
35   # do subset of tests which don't fetch resources
36   pytestFlagsArray = [ "nilearn/connectome/tests" ];
38   propagatedBuildInputs = [
39     joblib
40     lxml
41     matplotlib
42     nibabel
43     numpy
44     pandas
45     requests
46     scikit-learn
47     scipy
48   ];
50   meta = with lib; {
51     homepage = "https://nilearn.github.io";
52     description = "Module for statistical learning on neuroimaging data";
53     changelog = "https://github.com/nilearn/nilearn/releases/tag/${version}";
54     license = licenses.bsd3;
55   };