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 @@ from Stark Labs.")
|
||||||
(define-public sextractor
|
(define-public sextractor
|
||||||
(package
|
(package
|
||||||
(name "sextractor")
|
(name "sextractor")
|
||||||
(version "2.25.0")
|
(version "2.28.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -926,7 +926,7 @@ from Stark Labs.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0q69n3nyal57h3ik2xirwzrxzljrwy9ivwraxzv9566vi3n4z5mw"))))
|
(base32 "15v7brjiraj2rdyxiidcgb58b3dqzdd363j31cjrfqhd1wc8ii5j"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
;; NOTE: (Sharlatan-20210124T103117+0000): Building with `atlas' is failing
|
;; NOTE: (Sharlatan-20210124T103117+0000): Building with `atlas' is failing
|
||||||
;; due to missing shared library which required on configure phase. Switch
|
;; due to missing shared library which required on configure phase. Switch
|
||||||
|
@ -936,6 +936,10 @@ from Stark Labs.")
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list
|
(list
|
||||||
"--enable-openblas"
|
"--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
|
(string-append
|
||||||
"--with-openblas-libdir=" (assoc-ref %build-inputs "openblas") "/lib")
|
"--with-openblas-libdir=" (assoc-ref %build-inputs "openblas") "/lib")
|
||||||
(string-append
|
(string-append
|
||||||
|
@ -947,7 +951,8 @@ from Stark Labs.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf automake libtool))
|
(list autoconf automake libtool))
|
||||||
(inputs
|
(inputs
|
||||||
`(("openblas" ,openblas)
|
`(("cfitsio" ,cfitsio)
|
||||||
|
("openblas" ,openblas)
|
||||||
("fftw" ,fftwf)))
|
("fftw" ,fftwf)))
|
||||||
(home-page "https://www.astromatic.net/software/sextractor")
|
(home-page "https://www.astromatic.net/software/sextractor")
|
||||||
(synopsis "Extract catalogs of sources from astronomical images")
|
(synopsis "Extract catalogs of sources from astronomical images")
|
||||||
|
|
Reference in a new issue