From patchwork Thu Feb 6 07:32:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yelninei--- via Guix-patches via X-Patchwork-Id: 38313 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1EC5127BBE9; Thu, 6 Feb 2025 07:34:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A5B8427BBE2 for ; Thu, 6 Feb 2025 07:34:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tfwOr-0005Z7-Si; Thu, 06 Feb 2025 02:34:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tfwOh-0005YH-Cf for guix-patches@gnu.org; Thu, 06 Feb 2025 02:34:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tfwOh-0002xl-13 for guix-patches@gnu.org; Thu, 06 Feb 2025 02:34:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=M06O3yllakTFXXnauen5N9eSs8RKyc5hm/5U1Zr0aGY=; b=XVxUkN3+88/+x3MSw7QMQaBT72wTFus826Qc2Tym3N6u5GWI9lq5aNRFPhX+v7ovuqPNIKK9m5lfa6aqPpsv+d6GZFhVETmzIMV5mJASnUIfXqWcMzp+du+3BIOVLqQG/r/FGuGpsS2joX5IghvghcWuD/7JOZNiafgElt6TqkwvANk/c2tvZpI8uTt/CstI6HhqfGuEntReg2szzX35okPNkjece3yWdqWG3M1FKhinRh4Z9LCoC2O+WfoYBt8gRH2DJ0O/In093f/IZHJnuF5P6BK6UFhQPKuyCjjVMOZKLod5AoScHyyGRC5bOGTam6arf/TxnpVkTnQ8qyGYfw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tfwOg-0000o6-TS for guix-patches@gnu.org; Thu, 06 Feb 2025 02:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76071] [PATCH v1] gnu: Add astroterm. References: <741a8912973fa1e4798496f3a83bcea6becf79d2.1738771705.git.vasilii.smirnov@mailbox.org> In-Reply-To: <741a8912973fa1e4798496f3a83bcea6becf79d2.1738771705.git.vasilii.smirnov@mailbox.org> Resent-From: vasilii.smirnov@mailbox.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Feb 2025 07:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76071 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76071@debbugs.gnu.org Cc: Vasilii Smirnov Received: via spool by 76071-submit@debbugs.gnu.org id=B76071.17388272093023 (code B ref 76071); Thu, 06 Feb 2025 07:34:02 +0000 Received: (at 76071) by debbugs.gnu.org; 6 Feb 2025 07:33:29 +0000 Received: from localhost ([127.0.0.1]:54071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfwO9-0000mg-4W for submit@debbugs.gnu.org; Thu, 06 Feb 2025 02:33:29 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:38980) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfwO6-0000mP-MY for 76071@debbugs.gnu.org; Thu, 06 Feb 2025 02:33:28 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4YpTNZ73t4z9srB for <76071@debbugs.gnu.org>; Thu, 6 Feb 2025 08:33:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1738827199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=M06O3yllakTFXXnauen5N9eSs8RKyc5hm/5U1Zr0aGY=; b=F1vMZOOlwTZws6rgLlKYYZbllW9f3OCp7QFxDDGa8kqtjUKxjZ/9ppBSqwWVeler3Lde1s yJMPCAnPgg10CooQmJp4JBWCCJKeTTZjCStc0swRV/lUm4cgKnyUbN/PP2+8KdVTL4U2/N /fyP7/AaJv+soDDZpkCybZikOU/b0hTq4F8GJmhTU+vVzK/i5K1nfffkE/qZf/GKeMk6eN NaoehT+ASf4idseLxwcx4N0M6NqJmcLIeWcKRa6Hj5ovUMaQZ07yZX14LcEwWdrY0KndRE SjO6lkp67wZVGMusAghX6wSRY1sGamszyIdrcv6TFkieuNcDDrEFK8wlB494Qw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1738827196; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=M06O3yllakTFXXnauen5N9eSs8RKyc5hm/5U1Zr0aGY=; b=nGiakCJkWnPYxlg3hDAg+sF+j0a+wvIfDwCEHc1VkBqwOsktJ4lKIl7fL3JzS1QuWY9p62 EpO8ruV7IB1jQ/QeWfV63EIWW6hw17YAPK/hbA3U52vg3GuIabcbnPAdbwbkRlKE0BlyUk lUVgPZAJrSMqfoYRoIXRXx0n09VtRMt8C0G/v5KHY2CSX3rhyozxIvSaG/fU0pTlP899nZ xfE2Kr3b7Or55gKCMPErHXPwPVDnUYWmJonvoTquhy9VmBgfPuJtpnIMODCVc4hHlMva90 vQYYfnQuVVXcewyrYO3IabXT/Q4swi+zuqTEPxpnRsGLoVXPEkup0X/ZN2Ln7w== Date: Thu, 6 Feb 2025 08:32:52 +0100 Message-ID: <3b375d7504b8e1291d74b7050a338cf6a0ded420.1738827125.git.vasilii.smirnov@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: 12f055177b8f94f33d7 X-MBO-RS-META: myi1f3ebbx6tcbtb88af3h4bz7wzcsns X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: vasilii.smirnov@mailbox.org X-ACL-Warn: , "vasilii.smirnov--- via Guix-patches" X-Patchwork-Original-From: "vasilii.smirnov--- via Guix-patches" via From: yelninei--- via Guix-patches via Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Vasilii Smirnov * gnu/packages/astronomy.scm (astroterm): New variable. Change-Id: Ie724bbfc238bee4a1603f5dbff9bc734ec65ff3e --- gnu/packages/astronomy.scm | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) base-commit: 216a37ba5005148bbb88c4f6b8e9dd5904d49074 diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 5eb9883464..d9863c0316 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,55 @@ (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 (string-append + "https://web.archive.org/web/20250114214121/" + "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")