gnu: sextractor: Use G-expressions.

* gnu/packages/astronomy.scm (sextractor): Use G-expressions.
[inputs]: Remove labels.

Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Sharlatan Hellseher 2023-07-27 00:15:28 +01:00 committed by Andreas Enge
parent 2d91ef7a93
commit c84dce05c5
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -933,27 +933,26 @@ (define-public sextractor
;; build to use `openblas' instead. It requires FFTW with single precision
;; `fftwf'.
(arguments
`(#:configure-flags
(list
"--enable-openblas"
(string-append
"--with-cfitsio-libdir=" (assoc-ref %build-inputs "cfitsio") "/lib")
(string-append
"--with-cfitsio-incdir=" (assoc-ref %build-inputs "cfitsio") "/include")
(string-append
"--with-openblas-libdir=" (assoc-ref %build-inputs "openblas") "/lib")
(string-append
"--with-openblas-incdir=" (assoc-ref %build-inputs "openblas") "/include")
(string-append
"--with-fftw-libdir=" (assoc-ref %build-inputs "fftw") "/lib")
(string-append
"--with-fftw-incdir=" (assoc-ref %build-inputs "fftw") "/include"))))
(list
#:configure-flags
#~(list
"--enable-openblas"
(string-append "--with-cfitsio-incdir="
#$(this-package-input "cfitsio") "/include")
(string-append "--with-cfitsio-libdir="
#$(this-package-input "cfitsio") "/lib")
(string-append "--with-fftw-incdir="
#$(this-package-input "fftwf") "/include")
(string-append "--with-fftw-libdir="
#$(this-package-input "fftwf") "/lib")
(string-append "--with-openblas-incdir="
#$(this-package-input "openblas") "/include")
(string-append "--with-openblas-libdir="
#$(this-package-input "openblas") "/lib"))))
(native-inputs
(list autoconf automake libtool))
(inputs
`(("cfitsio" ,cfitsio)
("openblas" ,openblas)
("fftw" ,fftwf)))
(list cfitsio fftwf openblas))
(home-page "https://www.astromatic.net/software/sextractor")
(synopsis "Extract catalogs of sources from astronomical images")
(description