aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/astronomy.scm
diff options
context:
space:
mode:
authorJohn Darrington <jmd@gnu.org>2017-03-02 06:58:34 +0100
committerJohn Darrington <jmd@gnu.org>2017-03-02 07:03:26 +0100
commit0558e9684f3c2558bbce4e8aaeb9ab0a317e55d0 (patch)
treeb7afa46308c0b02671e0d32c4fb11e6bfc23169d /gnu/packages/astronomy.scm
parent1a01551a9b35830a9980abec76ca7cd0c5663aa4 (diff)
downloadpatches-0558e9684f3c2558bbce4e8aaeb9ab0a317e55d0.tar
patches-0558e9684f3c2558bbce4e8aaeb9ab0a317e55d0.tar.gz
gnu: Add stellarium.
* gnu/packages/astronomy.scm (stellarium): New variable.
Diffstat (limited to 'gnu/packages/astronomy.scm')
-rw-r--r--gnu/packages/astronomy.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index f390ce4486..799b5fe031 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -21,7 +21,13 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download)
#:use-module (gnu packages image)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages gettext)
+ #:use-module (gnu packages perl)
+ #:use-module (gnu packages gl)
+ #:use-module (gnu packages qt)
#:use-module (gnu packages maths)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu))
(define-public cfitsio
@@ -107,3 +113,29 @@ systems in a FITS image header.")
(description "The GNU Astronomy Utilities (Gnuastro) is a suite of
programs for the manipulation and analysis of astronomical data.")
(license license:gpl3+)))
+
+(define-public stellarium
+ (package
+ (name "stellarium")
+ (version "0.15.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/stellarium/Stellarium-sources/"
+ version "/stellarium-" version ".tar.gz"))
+ (sha256
+ (base32
+ "04avigz8i8mi2x6x71bqr9np85n1p9qnvbj2hxr947f1jv22zr8g"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f)) ; There are no tests.
+ (home-page "https://www.gnu.org/software/stellarium")
+ (inputs `(("qt" ,qt)
+ ("zlib" ,zlib)))
+ (native-inputs `(("gettext" ,gettext-minimal)
+ ("perl" ,perl)))
+ (synopsis "Nocturnal sky renderering program")
+ (description "Stellarium renders a realistic image of the sky in real time.
+With Stellarium, you really see what you can see with your eyes, binoculars or a
+small telescope.")
+ (license license:gpl2+)))