python3Packages.dipy: init at 1.1.1
This commit is contained in:
parent
feb39bd6df
commit
17611f14c2
68
pkgs/development/python-modules/dipy/default.nix
Normal file
68
pkgs/development/python-modules/dipy/default.nix
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, isPy27
|
||||||
|
, packaging
|
||||||
|
, pytest
|
||||||
|
, cython
|
||||||
|
, numpy
|
||||||
|
, scipy
|
||||||
|
, h5py
|
||||||
|
, nibabel
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dipy";
|
||||||
|
version = "1.1.1";
|
||||||
|
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dipy";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "08abx0f4li6ya62ilc59miw4mk6wndizahyylxhgcrpacb6ydw28";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cython packaging ];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
numpy
|
||||||
|
scipy
|
||||||
|
h5py
|
||||||
|
nibabel
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
# disable tests for now due to:
|
||||||
|
# - some tests require data download (see dipy/dipy/issues/2092);
|
||||||
|
# - running the tests manually causes a multiprocessing hang;
|
||||||
|
# - import weirdness when running the tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"dipy"
|
||||||
|
"dipy.core"
|
||||||
|
"dipy.direction"
|
||||||
|
"dipy.tracking"
|
||||||
|
"dipy.reconst"
|
||||||
|
"dipy.io"
|
||||||
|
"dipy.viz"
|
||||||
|
"dipy.boots"
|
||||||
|
"dipy.data"
|
||||||
|
"dipy.utils"
|
||||||
|
"dipy.segment"
|
||||||
|
"dipy.sims"
|
||||||
|
"dipy.stats"
|
||||||
|
"dipy.denoise"
|
||||||
|
"dipy.workflows"
|
||||||
|
"dipy.nn"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://dipy.org/";
|
||||||
|
description = "Diffusion imaging toolkit for Python";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
|
};
|
||||||
|
}
|
@ -619,6 +619,8 @@ in {
|
|||||||
|
|
||||||
diofant = callPackage ../development/python-modules/diofant { };
|
diofant = callPackage ../development/python-modules/diofant { };
|
||||||
|
|
||||||
|
dipy = callPackage ../development/python-modules/dipy { };
|
||||||
|
|
||||||
docrep = callPackage ../development/python-modules/docrep { };
|
docrep = callPackage ../development/python-modules/docrep { };
|
||||||
|
|
||||||
dominate = callPackage ../development/python-modules/dominate { };
|
dominate = callPackage ../development/python-modules/dominate { };
|
||||||
|
Loading…
Reference in New Issue
Block a user