summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCASTELNEAU Julien <julien.castelneau@inria.fr>2024-12-13 14:41:24 +0100
committerLudovic Courtès <ludovic.courtes@inria.fr>2025-02-27 17:32:15 +0100
commitcf26d5688f2694d426697488a22fcfd2519e6aee (patch)
tree157b604407887fedd67229ba5050cb43e514f7f1
parent73896671552486f8476749a763e793a1f3141c52 (diff)
neuroscience: Add python-nipype.
* guix-science/packages/neuroscience.scm (python-nipype): New variable. Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
-rw-r--r--guix-science/packages/neuroscience.scm59
1 files changed, 59 insertions, 0 deletions
diff --git a/guix-science/packages/neuroscience.scm b/guix-science/packages/neuroscience.scm
index 62527e9..ebd1316 100644
--- a/guix-science/packages/neuroscience.scm
+++ b/guix-science/packages/neuroscience.scm
@@ -149,3 +149,62 @@ objects more effectively.")
149 (description "This module provides simple, consistent access to package resources.") 149 (description "This module provides simple, consistent access to package resources.")
150 (license license:asl2.0))) 150 (license license:asl2.0)))
151 151
152(define-public python-nipype
153 (package
154 (name "python-nipype")
155 (version "1.9.1")
156 (source
157 (origin
158 (method url-fetch)
159 (uri (pypi-uri "nipype" version))
160 (sha256
161 (base32 "02vd97svg4l8rvpvwa8k42nypr6r81g283716qsv8sp8sa788134"))))
162 (build-system pyproject-build-system)
163 (arguments
164 (list
165 #:phases #~(modify-phases %standard-phases
166 ;; Some tests contains a hardcoded absolute path to
167 ;; bash.
168 (add-after 'unpack 'fix-path
169 (lambda* (#:key native-inputs inputs #:allow-other-keys)
170 (substitute* "nipype/pipeline/engine/tests/test_nodes.py"
171 (("/bin/bash")
172 (search-input-file (or native-inputs inputs)
173 "/bin/bash"))))))))
174 (native-inputs (list python-setuptools
175 python-wheel
176
177 python-pytest
178 python-pytest-cov
179 python-pytest-timeout
180 python-pytest-env
181 python-coverage
182 python-pytest-xdist
183 python-sphinx
184 python-pytest-doctestplus
185 which
186 python-pandas))
187 (propagated-inputs (list python-acres
188 python-click
189 python-dateutil
190 python-etelemetry
191 python-filelock
192 python-looseversion
193 python-networkx
194 python-nibabel
195 python-numpy
196 python-packaging
197 python-prov
198 python-puremagic
199 python-pydot
200 (lookup-package-propagated-input python-prov "python-rdflib")
201 python-scipy
202 python-simplejson
203 python-traits))
204 (home-page "https://nipype.readthedocs.io/en/latest/index.html")
205 (synopsis "Neuroimaging in Python: Pipelines and Interfaces")
206 (description "Nipype provides a uniform interface to existing neuroimaging software
207and facilitates interaction between these packages within a single
208workflow. Nipype provides an environment that encourages interactive
209exploration of algorithms from different packages.")
210 (license license:asl2.0)))