3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/nibabel/default.nix

39 lines
741 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
2019-08-06 03:08:14 +01:00
, nose
, pytest
2019-08-06 03:08:14 +01:00
, numpy
, h5py
, pydicom
, scipy
}:
buildPythonPackage rec {
pname = "nibabel";
version = "3.0.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "08nlny8vzkpjpyb0q943cq57m2s4wndm86chvd3d5qvar9z6b36k";
};
propagatedBuildInputs = [ numpy scipy h5py pydicom ];
checkInputs = [ nose pytest ];
2019-08-06 03:08:14 +01:00
checkPhase = ''
nosetests
'';
meta = with lib; {
homepage = https://nipy.org/nibabel/;
description = "Access a multitude of neuroimaging data formats";
license = licenses.mit;
maintainers = with maintainers; [ ashgillman ];
platforms = platforms.x86_64; # https://github.com/nipy/nibabel/issues/861
};
}