From c9bd15c1d85781730edd34688007c09faa2952b0 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 30 Aug 2016 21:09:56 +0200 Subject: gnu: Add gnuastro * gnu/packages/astronomy.scm (gnuastro): New variable. --- gnu/packages/astronomy.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 996829397d..f893525fb5 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -18,8 +18,10 @@ (define-module (gnu packages astronomy) #:use-module (guix packages) - #:use-module (guix licenses) + #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) + #:use-module (gnu packages image) + #:use-module (gnu packages maths) #:use-module (guix build-system gnu)) (define-public cfitsio @@ -78,3 +80,27 @@ (define-public wcslib keywords and usage that provide for the description of astronomical coordinate systems in a FITS image header.") (license license:lgpl3+))) + +(define-public gnuastro + (package + (name "gnuastro") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gnuastro/gnuastro-" + version ".tar.gz")) + (sha256 + (base32 + "105s007kw8l3jwwhvh8k9lgbpfbf7sqh2wpxmvpv3qdr6nh9lnjg")))) + (inputs + `(("cfitsio" ,cfitsio) + ("gsl" ,gsl) + ("libjpeg" ,libjpeg-8) + ("wcslib" ,wcslib))) + (build-system gnu-build-system) + (home-page "http://www.gnu.org/software/gnuastro") + (synopsis "Astronomical data manipulation programs") + (description "The GNU Astronomy Utilities (Gnuastro) is a suite of +programs for the manipulation and analysis of astronomical data.") + (license license:gpl3+))) -- cgit v1.2.3