[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64201] [PATCH v2 02/22] gnu: sextractor: Use G-expressions.
From: |
Sharlatan Hellseher |
Subject: |
[bug#64201] [PATCH v2 02/22] gnu: sextractor: Use G-expressions. |
Date: |
Thu, 27 Jul 2023 00:15:28 +0100 |
* gnu/packages/astronomy.scm (sextractor): Use G-expressions.
[inputs]: Remove labels.
---
gnu/packages/astronomy.scm | 35 +++++++++++++++++------------------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 4e03e2fcd6..26d4e9621d 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -848,27 +848,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
--
2.40.1
- [bug#64201] [PATCH v2 00/22]: gnu: Astronmy June updates., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 02/22] gnu: sextractor: Use G-expressions.,
Sharlatan Hellseher <=
- [bug#64201] [PATCH v2 01/22] gnu: sextractor: Update to 2.28.0, fix build., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 03/22] gnu: python-photutils: Update package style., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 05/22] gnu: calcmysky: Update to 0.3.1., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 06/22] gnu: libxisf: Update to 0.2.8., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 10/22] gnu: python-cdflib: Update to 1.0.5., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 13/22] gnu: python-fitsio: Enable tests., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 11/22] gnu: python-drms: Update to 0.6.4., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 04/22] gnu: calceph: Update to 3.5.2., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 08/22] gnu: python-astropy: Update to 5.3.1., Sharlatan Hellseher, 2023/07/26
- [bug#64201] [PATCH v2 07/22] gnu: splash: Update to 3.8.2., Sharlatan Hellseher, 2023/07/26