gnu: gnuastro: Pin cfitsio version.

This change makes sure GNU Astro is keep building after updating CFITSIO
to the latest version as mentioned in <https://issues.guix.gnu.org/73399>.

* gnu/packages/astronomy.scm (cfitsio-4.4): New variable.
(gnuastro) [inputs]: Remove cfitsio; add cfitsio-4.4.

Change-Id: Ia7fa2175dd74a66c1912094efcfb71cbbc998f0a
This commit is contained in:
Sharlatan Hellseher 2024-09-30 21:38:10 +01:00
parent db990cfe40
commit 056be5be26
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -582,6 +582,21 @@ (define-public cfitsio
(license (license:non-copyleft "file://License.txt"
"See License.txt in the distribution."))))
;;; The version is required for gnuastro. It fails on check phase with a
;;; newer version.
(define-public cfitsio-4.4
(package
(inherit cfitsio)
(version "4.4.1")
(source
(origin
(method url-fetch)
(uri (string-append
"https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/"
"cfitsio-" version ".tar.gz"))
(sha256
(base32 "098x1l8ijwsjp2ivp3v7pamrmpgwj5xmgb4yppm9w3w044zxr8b6"))))))
(define-public erfa
(package
(name "erfa")
@ -1747,7 +1762,7 @@ (define-public gnuastro
(arguments
'(#:configure-flags '("--disable-static")))
(inputs
(list cfitsio
(list cfitsio-4.4
curl
gsl
libgit2