mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
python3Packages.nitransforms: init at 21.0.0
This commit is contained in:
parent
9a98b3a709
commit
cb8f864487
45
pkgs/development/python-modules/nitransforms/default.nix
Normal file
45
pkgs/development/python-modules/nitransforms/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, h5py
|
||||
, nibabel
|
||||
, numpy
|
||||
, setuptools-scm
|
||||
, toml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nitransforms";
|
||||
version = "21.0.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "njJqHqXVxldyGfmdM8GmgKdgIT4kMYLzcM5+ayR2EDo=";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools-scm toml ];
|
||||
propagatedBuildInputs = [ h5py nibabel numpy ];
|
||||
|
||||
doCheck = false;
|
||||
# relies on data repo (https://github.com/nipreps-data/nitransforms-tests);
|
||||
# probably too heavy
|
||||
pythonImportsCheck = [
|
||||
"nitransforms"
|
||||
"nitransforms.base"
|
||||
"nitransforms.io"
|
||||
"nitransforms.io.base"
|
||||
"nitransforms.linear"
|
||||
"nitransforms.manip"
|
||||
"nitransforms.nonlinear"
|
||||
"nitransforms.patched"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://nitransforms.readthedocs.io";
|
||||
description = "Geometric transformations for images and surfaces";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
@ -5296,6 +5296,8 @@ in {
|
||||
|
||||
nitpick = callPackage ../applications/version-management/nitpick { };
|
||||
|
||||
nitransforms = callPackage ../development/python-modules/nitransforms { };
|
||||
|
||||
nix-kernel = callPackage ../development/python-modules/nix-kernel {
|
||||
inherit (pkgs) nix;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user