guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/25: gnu: Add kstars.


From: guix-commits
Subject: 16/25: gnu: Add kstars.
Date: Sun, 31 Jan 2021 09:04:33 -0500 (EST)

htgoebel pushed a commit to branch wip-kde-education
in repository guix.

commit 754537424146977f55b86c71ee5a329ca46ff592
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Mon Dec 2 12:21:34 2019 +0100

    gnu: Add kstars.
    
    * gnu/packages/education.scm (kstars): New variable.
---
 gnu/packages/education.scm | 62 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index f35c7c2..9b9b7a4 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -30,6 +30,8 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages audio)
+  #:use-module (gnu packages algebra)
+  #:use-module (gnu packages astronomy)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages boost)
@@ -63,6 +65,7 @@
   #:use-module (gnu packages ocaml)
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages photo)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-web)
@@ -1318,6 +1321,65 @@ This package is part of the KDE education module.")
     (license ;; GPL for programs, FDL for documentation
      (list license:gpl2+ license:fdl1.2+))))
 
+(define-public kstars
+  (package
+    (name "kstars")
+    (version "2.9.8")  ;; Note: 17.08.3 is older then 2.x
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/Attic/"
+                           "kstars/kstars-" version ".tar.xz"))
+       (sha256
+        (base32 "0z9d4c3r1n4i2681zvzs29qa52zaaq5nkkqkbds5skf8djp6rwwm"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("eigen" ,eigen)
+       ("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(;; TODO: ("cfitsio" ,cfitsio) building this backend fails
+       ("kauth" ,kauth)
+       ("kconfig" ,kconfig)
+       ("kcrash" ,kcrash)
+       ("ki18n" ,ki18n)
+       ("kio" ,kio)
+       ("knewstuff" ,knewstuff)
+       ("knotifications" ,knotifications)
+       ("knotifykonfig" ,knotifyconfig)
+       ("kplotting" ,kplotting)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kxmlgui" ,kxmlgui)
+       ("libraw" ,libraw)
+       ("mesa" ,mesa)
+       ("oxygen-icons" ,oxygen-icons) ;; default icon set
+       ("qtbase" ,qtbase)
+       ("qtdatavis3d" ,qtdatavis3d)
+       ("qtdeclarative" ,qtdeclarative)
+       ("qtkeychain" ,qtkeychain)
+       ("qtlocation" ,qtlocation)
+       ("qtquickcontrols2" ,qtquickcontrols2)
+       ("qtsvg" ,qtsvg)
+       ("qtwebsockets" ,qtwebsockets)
+       ("wcslib" ,wcslib)
+       ("xplanet" ,xplanet)
+       ("zlib" ,zlib)))
+    ;; TODO: INDI http://www.indilib.org
+    ;; TODO: OpenMP # Needed for LibRaw
+    ;; TODO: AstrometryNet
+    (home-page "https://kde.org/applications/education/org.kde.kstars";)
+    (synopsis "Desktop planetarium")
+    (description "KStars provides an accurate graphical simulation of the
+night sky, from any location on Earth, at any date and time.  The display
+includes 130,000 stars, 13,000 deep-sky objects, all 8 planets, the Sun and
+Moon, and thousands of comets and asteroids.  It includes tools for
+astronomical calculations and can control telescopes and cameras.
+
+This package is part of the KDE education module.")
+    (license ;; GPL for programs, FDL for documentation
+     (list license:gpl2+ license:fdl1.2+))))
+
 (define-public ktouch
   (package
     (name "ktouch")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]