nixpkgs/pkgs/development/python-modules/nibabel/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
759 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, packaging
, pytestCheckHook
2020-07-05 21:11:32 +00:00
, nose
2019-08-06 02:08:14 +00:00
, numpy
, h5py
, pydicom
, scipy
}:
buildPythonPackage rec {
pname = "nibabel";
version = "4.0.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-RcSbU0k1G0X2wEWpGqArTw02dob/MoRjLvlaxluTB4Y=";
};
propagatedBuildInputs = [ numpy scipy h5py packaging pydicom ];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# https://github.com/nipy/nibabel/issues/951
"test_filenames"
];
meta = with lib; {
homepage = "https://nipy.org/nibabel";
description = "Access a multitude of neuroimaging data formats";
license = licenses.mit;
maintainers = with maintainers; [ ashgillman ];
};
}