python312Packages.dipy: 1.7.0 -> 1.9.0

Diff: https://github.com/dipy/dipy/compare/refs/tags/1.7.0...1.9.0

Changelog: https://github.com/dipy/dipy/blob/1.9.0/Changelog
This commit is contained in:
natsukium 2024-11-02 17:58:58 +09:00
parent efa2aeebb8
commit b688cdd180
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -3,6 +3,7 @@
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
meson-python,
packaging,
cython,
numpy,
@ -10,33 +11,43 @@
h5py,
nibabel,
tqdm,
trx-python,
}:
buildPythonPackage rec {
pname = "dipy";
version = "1.7.0";
format = "setuptools";
version = "1.9.0";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "dipy";
repo = pname;
repo = "dipy";
rev = "refs/tags/${version}";
hash = "sha256-sfqCK2r9Io1gDDHL9s9R37J0h9KcOQML3B2zJx2+QuA=";
hash = "sha256-6cpxuk2PL43kjQ+6UGiUHUXC7pC9OlW9kZvGOdEXyzw=";
};
nativeBuildInputs = [
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "numpy==" "numpy>="
'';
build-system = [
cython
meson-python
numpy
packaging
];
propagatedBuildInputs = [
dependencies = [
numpy
scipy
h5py
nibabel
packaging
tqdm
trx-python
];
# disable tests for now due to:
@ -53,7 +64,6 @@ buildPythonPackage rec {
"dipy.reconst"
"dipy.io"
"dipy.viz"
"dipy.boots"
"dipy.data"
"dipy.utils"
"dipy.segment"