ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / nitransforms / default.nix
blob695c674e0dcef2ff6b39e361ff12f6b4a837b46d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , h5py
6 , nibabel
7 , numpy
8 , setuptools-scm
9 , toml
12 buildPythonPackage rec {
13   pname = "nitransforms";
14   version = "22.0.0";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "sha256-iV9TEIGogIfbj+fmOGftoQqEdtZiewbHEw3hYlMEP4c=";
20   };
22   buildInputs = [ setuptools-scm toml ];
23   propagatedBuildInputs = [ h5py nibabel numpy ];
25   doCheck = false;
26   # relies on data repo (https://github.com/nipreps-data/nitransforms-tests);
27   # probably too heavy
28   pythonImportsCheck = [
29     "nitransforms"
30     "nitransforms.base"
31     "nitransforms.io"
32     "nitransforms.io.base"
33     "nitransforms.linear"
34     "nitransforms.manip"
35     "nitransforms.nonlinear"
36     "nitransforms.patched"
37   ];
39   meta = with lib; {
40     homepage = "https://nitransforms.readthedocs.io";
41     description = "Geometric transformations for images and surfaces";
42     license = licenses.mit;
43     maintainers = with maintainers; [ bcdarwin ];
44   };