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