Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 761 B view raw
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.1.1"; 17 disabled = isPy27; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "1kir9g7kmy2qygyzczx8nj4b0sc6jjvqy0ssm39bxzqsr1vzzvxm"; 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 platforms = platforms.x86_64; # https://github.com/nipy/nibabel/issues/861 38 }; 39}