Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 38 lines 741 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, nose 6, pytest 7, numpy 8, h5py 9, pydicom 10, scipy 11}: 12 13buildPythonPackage rec { 14 pname = "nibabel"; 15 version = "3.0.1"; 16 disabled = isPy27; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "08nlny8vzkpjpyb0q943cq57m2s4wndm86chvd3d5qvar9z6b36k"; 21 }; 22 23 propagatedBuildInputs = [ numpy scipy h5py pydicom ]; 24 25 checkInputs = [ nose pytest ]; 26 27 checkPhase = '' 28 nosetests 29 ''; 30 31 meta = with lib; { 32 homepage = https://nipy.org/nibabel/; 33 description = "Access a multitude of neuroimaging data formats"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ ashgillman ]; 36 platforms = platforms.x86_64; # https://github.com/nipy/nibabel/issues/861 37 }; 38}