depot/third_party/nixpkgs/pkgs/development/python-modules/nibabel/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

41 lines
759 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, packaging
, pytestCheckHook
, nose
, numpy
, h5py
, pydicom
, scipy
}:
buildPythonPackage rec {
pname = "nibabel";
version = "4.0.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Ih83OjgAWpEcViOWBw1ngu3zTuNsVguWrj/m3Q7VxGI=";
};
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 ];
};
}