depot/third_party/nixpkgs/pkgs/development/python-modules/nibabel/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

41 lines
759 B
Nix

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