12 buildPythonPackage rec {
13 pname = "nitransforms";
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 sha256 = "sha256-iV9TEIGogIfbj+fmOGftoQqEdtZiewbHEw3hYlMEP4c=";
22 buildInputs = [ setuptools-scm toml ];
23 propagatedBuildInputs = [ h5py nibabel numpy ];
26 # relies on data repo (https://github.com/nipreps-data/nitransforms-tests);
28 pythonImportsCheck = [
32 "nitransforms.io.base"
35 "nitransforms.nonlinear"
36 "nitransforms.patched"
40 homepage = "https://nitransforms.readthedocs.io";
41 description = "Geometric transformations for images and surfaces";
42 license = licenses.mit;
43 maintainers = with maintainers; [ bcdarwin ];