File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed
pkgs/development/python-modules/dipy Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change 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
1517buildPythonPackage 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"
You can’t perform that action at this time.
0 commit comments