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