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

39 lines
754 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";
2020-06-06 07:47:19 +01:00
version = "3.1.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:19 +01:00
sha256 = "774adcff834f22915afb68c6cdd7acbcb5d0240b7f87f6da6c63ff405480884b";
};
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
};
}