gnu: Add sextractor.
* gnu/packages/astronomy.scm (sextractor): New variable. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>master
parent
906155e437
commit
b2d6f127c2
|
@ -158,6 +158,52 @@ header.")
|
||||||
programs for the manipulation and analysis of astronomical data.")
|
programs for the manipulation and analysis of astronomical data.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
(define-public sextractor
|
||||||
|
(package
|
||||||
|
(name "sextractor")
|
||||||
|
(version "2.25.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/astromatic/sextractor")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0q69n3nyal57h3ik2xirwzrxzljrwy9ivwraxzv9566vi3n4z5mw"))))
|
||||||
|
(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
|
||||||
|
;; build to use `openblas' instead. It requires FFTW with single precision
|
||||||
|
;; `fftwf'.
|
||||||
|
(arguments
|
||||||
|
`(#:configure-flags
|
||||||
|
(list
|
||||||
|
"--enable-openblas"
|
||||||
|
(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"))))
|
||||||
|
(native-inputs
|
||||||
|
`(("autoconf" ,autoconf)
|
||||||
|
("automake" ,automake)
|
||||||
|
("libtool" ,libtool)))
|
||||||
|
(inputs
|
||||||
|
`(("openblas" ,openblas)
|
||||||
|
("fftw" ,fftwf)))
|
||||||
|
(home-page "http://www.astromatic.net/software/sextractor")
|
||||||
|
(synopsis "Extract catalogs of sources from astronomical images")
|
||||||
|
(description
|
||||||
|
"SExtractor is a program that builds a catalogue of objects from an
|
||||||
|
astronomical image. Although it is particularly oriented towards reduction of
|
||||||
|
large scale galaxy-survey data, it can perform reasonably well on moderately
|
||||||
|
crowded star fields.")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public stellarium
|
(define-public stellarium
|
||||||
(package
|
(package
|
||||||
(name "stellarium")
|
(name "stellarium")
|
||||||
|
|
Reference in New Issue