summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-02-09 01:52:20 +0000
committerAndreas Enge <andreas@enge.fr>2025-02-10 14:27:57 +0100
commit19f092e8e8113d06de1fd8774513ace7796bc018 (patch)
tree18d7575f9e2d26a9b21df34c6ad0a4a0fd04b585 /gnu/packages/python-science.scm
parent69cbb0dd25eebbb38e179c1679aa0433008d9d08 (diff)
gnu: Add python-nibabel.
* gnu/packages/python-science.scm (python-nibabel): New variable. Change-Id: I27d3841def6f360ae3996aacb787142bcfa92291 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm35
1 files changed, 34 insertions, 1 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 7772dce248f..bcd16724b1c 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -9,7 +9,7 @@
9;;; Copyright © 2019, 2021, 2022, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> 9;;; Copyright © 2019, 2021, 2022, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
10;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org> 10;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
11;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com> 11;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
12;;; Copyright © 2020, 2021, 2022, 2023, 2024 Vinicius Monego <monego@posteo.net> 12;;; Copyright © 2020-2025 Vinicius Monego <monego@posteo.net>
13;;; Copyright © 2021 Greg Hogan <code@greghogan.com> 13;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
14;;; Copyright © 2021 Roel Janssen <roel@gnu.org> 14;;; Copyright © 2021 Roel Janssen <roel@gnu.org>
15;;; Copyright © 2021 Paul Garlick <pgarlick@tourbillion-technology.com> 15;;; Copyright © 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
@@ -1128,6 +1128,39 @@ density maps, both for interactive and non-interactive use.")
1128Evapotranspiration using various standard methods.") 1128Evapotranspiration using various standard methods.")
1129 (license license:expat))) 1129 (license license:expat)))
1130 1130
1131(define-public python-nibabel
1132 (package
1133 (name "python-nibabel")
1134 (version "5.3.2")
1135 (source
1136 (origin
1137 (method url-fetch)
1138 (uri (pypi-uri "nibabel" version))
1139 (sha256
1140 (base32 "16snprwgp7qzp51j3mx0zdn7brvx6r14ankldi24ny0w7d8adp0b"))))
1141 (build-system pyproject-build-system)
1142 (arguments
1143 (list
1144 ;; AttributeError: 'dict' object has no attribute 'add'.
1145 #:test-flags #~(list "-k" "not test_first and not test_second")))
1146 (propagated-inputs (list python-importlib-resources python-numpy
1147 python-packaging python-typing-extensions))
1148 (native-inputs (list python-hatch-vcs
1149 python-hatchling
1150 python-pytest
1151 python-pytest-httpserver
1152 python-pytest-xdist))
1153 (home-page "https://nipy.org/nibabel/")
1154 (synopsis "Read and write access to common neuroimaging file formats")
1155 (description
1156 "@code{nibabel} is a library that provides read and write access to
1157common neuroimaging file formats, including: ANALYZE (plain, SPM99, SPM2
1158and later), GIFTI, NIfTI1, NIfTI2, CIFTI-2, MINC1, MINC2, AFNI BRIK/HEAD,
1159ECAT and Philips PAR/REC. In addition, NiBabel also supports FreeSurfer’s
1160MGH, geometry, annotation and morphometry files, and provides some limited
1161support for DICOM.")
1162 (license license:expat))) ; and other non-copyleft licenses
1163
1131(define-public python-tspex 1164(define-public python-tspex
1132 (package 1165 (package
1133 (name "python-tspex") 1166 (name "python-tspex")