biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / nitransforms / default.nix
blob51f499d6ab17c425c642e2e46c16497ab2065a07
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   h5py,
7   nibabel,
8   numpy,
9   scipy,
10   setuptools-scm,
11   toml,
14 buildPythonPackage rec {
15   pname = "nitransforms";
16   version = "23.0.1";
17   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-Lty4aPzSlwRJSqCXeIVICF+gudYqto1OS4cVZyrB2nY=";
23   };
25   buildInputs = [
26     setuptools-scm
27     toml
28   ];
29   propagatedBuildInputs = [
30     h5py
31     nibabel
32     numpy
33     scipy
34   ];
36   pythonRelaxDeps = [ "scipy" ];
38   doCheck = false;
39   # relies on data repo (https://github.com/nipreps-data/nitransforms-tests);
40   # probably too heavy
41   pythonImportsCheck = [
42     "nitransforms"
43     "nitransforms.base"
44     "nitransforms.io"
45     "nitransforms.io.base"
46     "nitransforms.linear"
47     "nitransforms.manip"
48     "nitransforms.nonlinear"
49     "nitransforms.patched"
50   ];
52   meta = with lib; {
53     homepage = "https://nitransforms.readthedocs.io";
54     description = "Geometric transformations for images and surfaces";
55     mainProgram = "nb-transform";
56     changelog = "https://github.com/nipy/nitransforms/releases/tag/${version}";
57     license = licenses.mit;
58     maintainers = with maintainers; [ bcdarwin ];
59   };