14 buildPythonPackage rec {
15 pname = "nitransforms";
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-Lty4aPzSlwRJSqCXeIVICF+gudYqto1OS4cVZyrB2nY=";
24 nativeBuildInputs = [ pythonRelaxDepsHook ];
25 buildInputs = [ setuptools-scm toml ];
26 propagatedBuildInputs = [ h5py nibabel numpy scipy ];
28 pythonRelaxDeps = [ "scipy" ];
31 # relies on data repo (https://github.com/nipreps-data/nitransforms-tests);
33 pythonImportsCheck = [
37 "nitransforms.io.base"
40 "nitransforms.nonlinear"
41 "nitransforms.patched"
45 homepage = "https://nitransforms.readthedocs.io";
46 description = "Geometric transformations for images and surfaces";
47 changelog = "https://github.com/nipy/nitransforms/releases/tag/${version}";
48 license = licenses.mit;
49 maintainers = with maintainers; [ bcdarwin ];