23 buildPythonPackage rec {
28 disabled = pythonOlder "3.8";
31 inherit pname version;
32 hash = "sha256-tsgLLnKOS8K2XxFC2bjSKHqRAqi/hHfhFe8NgzRVmXU=";
40 propagatedBuildInputs = [
43 ] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];
45 optional-dependencies = rec {
46 all = dicom ++ dicomfs ++ minc2 ++ spm ++ zstd;
48 dicomfs = [ pillow ] ++ dicom;
62 ] ++ optional-dependencies.all;
65 export PATH=$out/bin:$PATH
68 disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [
70 "nisext/tests/test_sexts.py"
74 homepage = "https://nipy.org/nibabel";
75 changelog = "https://github.com/nipy/nibabel/blob/${version}/Changelog";
76 description = "Access a multitude of neuroimaging data formats";
77 license = licenses.mit;
78 maintainers = with maintainers; [ ashgillman ];