summary refs log tree commit diff
path: root/gnu/packages/astronomy.scm
diff options
context:
space:
mode:
authorJohn Darrington <jmd@gnu.org>2016-08-30 21:09:56 +0200
committerJohn Darrington <jmd@gnu.org>2016-08-31 06:17:13 +0200
commitc9bd15c1d85781730edd34688007c09faa2952b0 (patch)
tree4cf7f87d1be738ccfe6d5f4c6e1dd2464ddd1605 /gnu/packages/astronomy.scm
parent2be83f6e8d3678253a1f9c8b0e5fa264ebf81e2a (diff)
downloadguix-c9bd15c1d85781730edd34688007c09faa2952b0.tar.gz
gnu: Add gnuastro
* gnu/packages/astronomy.scm (gnuastro): New variable.
Diffstat (limited to 'gnu/packages/astronomy.scm')
-rw-r--r--gnu/packages/astronomy.scm28
1 files changed, 27 insertions, 1 deletions
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 @@ 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"))
+       (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+)))