GNU bug report logs - #76071
[PATCH] gnu: Add astroterm.

Previous Next

Package: guix-patches;

Reported by: vasilii.smirnov <at> mailbox.org

Date: Wed, 5 Feb 2025 16:14:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: vasilii.smirnov <at> mailbox.org
Subject: bug#76071: closed ([PATCH] gnu: Add astroterm.)
Date: Thu, 13 Feb 2025 23:17:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#76071: [PATCH] gnu: Add astroterm.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 76071 <at> debbugs.gnu.org.

-- 
76071: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76071
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 76071-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add astroterm.
Date: Thu, 13 Feb 2025 23:16:06 +0000
[Message part 3 (text/plain, inline)]
Hi,

I've extended specification-ybsc to include README and notes, also add
more details to description.

Pushed to master as:

4b5f0408e66 * master origin/master gnu: Add astroterm.
bcc776301cb * gnu: Add specification-ybsc.

More astro soft are welcome! 

If you fancy to package some, take a look
https://git.sr.ht/~hellseher/ffab/tree/main/item/TODO.md.

--
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: vasilii.smirnov <at> mailbox.org
To: guix-patches <at> gnu.org
Cc: Vasilii Smirnov <vasilii.smirnov <at> mailbox.org>
Subject: [PATCH] gnu: Add astroterm.
Date: Wed,  5 Feb 2025 17:13:00 +0100
From: Vasilii Smirnov <vasilii.smirnov <at> mailbox.org>

* gnu/packages/astronomy.scm (astroterm): New variable.

Change-Id: Ie724bbfc238bee4a1603f5dbff9bc734ec65ff3e
---
 gnu/packages/astronomy.scm | 50 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5eb9883464..f63bff84d5 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -78,6 +78,7 @@ (define-module (gnu packages astronomy)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages plotutils)
+  #:use-module (gnu packages popt)
   #:use-module (gnu packages pretty-print)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
@@ -97,6 +98,7 @@ (define-module (gnu packages astronomy)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
+  #:use-module (gnu packages vim)
   #:use-module (gnu packages web)
   #:use-module (gnu packages wxwidgets)
   #:use-module (gnu packages xiph)
@@ -260,6 +262,54 @@ (define-public aoflagger
 wide set of telescopes.")
     (license license:gpl3+)))
 
+(define-public astroterm
+  (package
+    (name "astroterm")
+    (version "1.0.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/da-luce/astroterm")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "03vfjcf8y039xbkigc3wy1sccbmk7zyy2nkfp984nbdxgr1pj129"))))
+    (build-system meson-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'configure 'copy-bsc5
+            (lambda _
+              (copy-file #+(this-package-native-input "bsc5")
+                         "./data/bsc5")))
+          (add-before 'configure 'fix-embed-sh-ref
+            (lambda _
+              (substitute* "meson.build"
+                (("'../scripts/embed.sh'")
+                 "meson.source_root() / 'scripts/embed.sh'")))))))
+    (native-inputs
+     `(("bsc5"
+        ,(origin
+           (method url-fetch)
+           (uri
+            "http://tdc-www.harvard.edu/catalogs/BSC5")
+           (sha256
+            (base32
+             "0h63ih62md0y99jwba59d1xrvfijck5s2ygq28fbdv2fmwpd0wg4"))))
+       ("pkg-config" ,pkg-config)
+       ("xxd" ,xxd)))
+    (inputs
+     (list ncurses argtable))
+    (home-page "https://github.com/da-luce/astroterm")
+    (synopsis "Planetarium for your terminal")
+    (description
+     "@code{astroterm} is a terminal-based star map written in C. It displays
+the real-time positions of stars, planets, constellations, and more, all
+within your terminal - no telescope required!")
+    (license license:expat)))
+
 (define-public calceph
   (package
     (name "calceph")

base-commit: 216a37ba5005148bbb88c4f6b8e9dd5904d49074
-- 
2.48.1




This bug report was last modified 96 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.