Skip to content

Commit b688cdd

Browse files
committed
python312Packages.dipy: 1.7.0 -> 1.9.0
Diff: dipy/dipy@refs/tags/1.7.0...1.9.0 Changelog: https://github.com/dipy/dipy/blob/1.9.0/Changelog
1 parent efa2aee commit b688cdd

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

pkgs/development/python-modules/dipy/default.nix

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,51 @@
33
buildPythonPackage,
44
fetchFromGitHub,
55
pythonOlder,
6+
meson-python,
67
packaging,
78
cython,
89
numpy,
910
scipy,
1011
h5py,
1112
nibabel,
1213
tqdm,
14+
trx-python,
1315
}:
1416

1517
buildPythonPackage rec {
1618
pname = "dipy";
17-
version = "1.7.0";
18-
format = "setuptools";
19+
version = "1.9.0";
20+
pyproject = true;
1921

2022
disabled = pythonOlder "3.6";
2123

2224
src = fetchFromGitHub {
2325
owner = "dipy";
24-
repo = pname;
26+
repo = "dipy";
2527
rev = "refs/tags/${version}";
26-
hash = "sha256-sfqCK2r9Io1gDDHL9s9R37J0h9KcOQML3B2zJx2+QuA=";
28+
hash = "sha256-6cpxuk2PL43kjQ+6UGiUHUXC7pC9OlW9kZvGOdEXyzw=";
2729
};
2830

29-
nativeBuildInputs = [
31+
postPatch = ''
32+
substituteInPlace pyproject.toml \
33+
--replace-fail "numpy==" "numpy>="
34+
'';
35+
36+
build-system = [
3037
cython
38+
meson-python
39+
numpy
3140
packaging
3241
];
3342

34-
propagatedBuildInputs = [
43+
dependencies = [
3544
numpy
3645
scipy
3746
h5py
3847
nibabel
48+
packaging
3949
tqdm
50+
trx-python
4051
];
4152

4253
# disable tests for now due to:
@@ -53,7 +64,6 @@ buildPythonPackage rec {
5364
"dipy.reconst"
5465
"dipy.io"
5566
"dipy.viz"
56-
"dipy.boots"
5767
"dipy.data"
5868
"dipy.utils"
5969
"dipy.segment"

0 commit comments

Comments
 (0)