From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 3/3] gnu: Add gnuastro Date: Wed, 31 Aug 2016 09:47:18 +0300 Message-ID: <87vayhe8p5.fsf@gmail.com> References: <1472584872-19300-1-git-send-email-jmd@gnu.org> <1472584872-19300-3-git-send-email-jmd@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bezIy-0002St-Hu for guix-devel@gnu.org; Wed, 31 Aug 2016 02:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bezIt-0008DG-IW for guix-devel@gnu.org; Wed, 31 Aug 2016 02:47:24 -0400 In-Reply-To: <1472584872-19300-3-git-send-email-jmd@gnu.org> (John Darrington's message of "Tue, 30 Aug 2016 21:21:12 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: John Darrington Cc: guix-devel@gnu.org John Darrington (2016-08-30 22:21 +0300) wrote: > * gnu/packages/astronomy.scm (gnuastro): New variable. > --- > gnu/packages/astronomy.scm | 28 +++++++++++++++++++++++++++- > 1 file changed, 27 insertions(+), 1 deletion(-) > > > diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm > index 53e86c8..24c6d79 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 @@ in FITS files.") > 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")) ^^ Please shift this (uri ...) one character to the right. > + (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+))) -- Alex