mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 16:17:27 +01:00
gnu: sextractor: Update to 2.28.0 and add input.
* gnu/packages/astronomy.scm (sextractor): Update to 2.28.0, fix build. [arguments]: Add configure flags for CFitsio detection. [inputs]: Add cfitsio. Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
a4e3b7ce48
commit
2d91ef7a93
1 changed files with 8 additions and 3 deletions
|
@ -917,7 +917,7 @@ (define (directory? x)
|
|||
(define-public sextractor
|
||||
(package
|
||||
(name "sextractor")
|
||||
(version "2.25.0")
|
||||
(version "2.28.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -926,7 +926,7 @@ (define-public sextractor
|
|||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0q69n3nyal57h3ik2xirwzrxzljrwy9ivwraxzv9566vi3n4z5mw"))))
|
||||
(base32 "15v7brjiraj2rdyxiidcgb58b3dqzdd363j31cjrfqhd1wc8ii5j"))))
|
||||
(build-system gnu-build-system)
|
||||
;; NOTE: (Sharlatan-20210124T103117+0000): Building with `atlas' is failing
|
||||
;; due to missing shared library which required on configure phase. Switch
|
||||
|
@ -936,6 +936,10 @@ (define-public sextractor
|
|||
`(#: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
|
||||
|
@ -947,7 +951,8 @@ (define-public sextractor
|
|||
(native-inputs
|
||||
(list autoconf automake libtool))
|
||||
(inputs
|
||||
`(("openblas" ,openblas)
|
||||
`(("cfitsio" ,cfitsio)
|
||||
("openblas" ,openblas)
|
||||
("fftw" ,fftwf)))
|
||||
(home-page "https://www.astromatic.net/software/sextractor")
|
||||
(synopsis "Extract catalogs of sources from astronomical images")
|
||||
|
|
Loading…
Reference in a new issue