gnu: niftilib: Rename package to nifticlib.

* gnu/packages/image.scm (niftilib): Define in terms of
'deprecated-package'.
(nifticlib): New variable, formerly known as "niftilib".
* gnu/packages/medical.scm (xmedcon)[inputs]: Replace niftilib with
nifticlib.

Change-Id: I5c8e12191202a97e3fb7202e428fd60627f49a2e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Jake Forster 2025-10-07 22:33:33 +10:30 committed by Ludovic Courtès
parent abff8db77a
commit 6c9ce6b900
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 7 additions and 4 deletions

View file

@ -2025,13 +2025,13 @@ and decompress to 32-bit and big-endian pixel buffers (RGBX, XBGR, etc.).")
(base32
"1kyhczwa17qp8ik3v876yjqsf4zrjj0z3464j04fak269cii404g"))))))
(define-public niftilib
(define-public nifticlib
;; Warning: The version of the test data may not match the package version.
(let* ((nifti-test-data-version "3.0.2")
(nifti-test-data-file (git-file-name "nifti-test-data"
nifti-test-data-version)))
(package
(name "niftilib")
(name "nifticlib")
(version "3.0.1")
(source (origin
(method git-fetch)
@ -2109,6 +2109,9 @@ resonance imaging} and @acronym{fMRI, functional MRI} brain images.")
(home-page "https://github.com/NIFTI-Imaging/nifti_clib")
(license license:public-domain))))
(define-public niftilib
(deprecated-package "niftilib" nifticlib))
(define-public mini
(package
(name "mini")

View file

@ -460,8 +460,8 @@ Medicine} server instead of SQLite.")
#:configure-flags
#~(list "--disable-static"
(string-append "--with-nifti-prefix="
#$(this-package-input "niftilib")))))
(inputs (list glib gtk+ libpng niftilib))
#$(this-package-input "nifticlib")))))
(inputs (list glib gtk+ libpng nifticlib))
(native-inputs (list pkg-config))
(home-page "https://xmedcon.sourceforge.io")
(synopsis "Medical image conversion utility")