1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, packaging 6, pytestCheckHook 7, nose 8, numpy 9, h5py 10, pydicom 11, scipy 12}: 13 14buildPythonPackage rec { 15 pname = "nibabel"; 16 version = "4.0.2"; 17 disabled = isPy27; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "sha256-RcSbU0k1G0X2wEWpGqArTw02dob/MoRjLvlaxluTB4Y="; 22 }; 23 24 propagatedBuildInputs = [ numpy scipy h5py packaging pydicom ]; 25 26 checkInputs = [ 27 pytestCheckHook 28 ]; 29 30 disabledTests = [ 31 # https://github.com/nipy/nibabel/issues/951 32 "test_filenames" 33 ]; 34 35 meta = with lib; { 36 homepage = "https://nipy.org/nibabel"; 37 description = "Access a multitude of neuroimaging data formats"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ ashgillman ]; 40 }; 41}