From patchwork Thu Oct 13 05:42:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cairn X-Patchwork-Id: 43366 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 30BD427BBEA; Thu, 13 Oct 2022 06:46:00 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED,URI_HEX 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 E26EB27BBE9 for ; Thu, 13 Oct 2022 06:45:59 +0100 (BST) Received: from localhost ([::1]:42654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oir2d-0000vf-1K for patchwork@mira.cbaines.net; Thu, 13 Oct 2022 01:45:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oir0k-0008P7-JU for guix-patches@gnu.org; Thu, 13 Oct 2022 01:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oir0k-0004n3-7z for guix-patches@gnu.org; Thu, 13 Oct 2022 01:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oir0k-0008BM-3f for guix-patches@gnu.org; Thu, 13 Oct 2022 01:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58481] [PATCH 8/9] gnu: Add calcmysky. References: <94mAek164ENauq8r9O2XguR2a7BFYVU2ypJqpJr5Z42OJKl96FxC5qetFugtvngiV5uewDij2lo1zuoI7XEDvQ_GIEZRL4fc1DFI0k6U03w=@pm.me> In-Reply-To: <94mAek164ENauq8r9O2XguR2a7BFYVU2ypJqpJr5Z42OJKl96FxC5qetFugtvngiV5uewDij2lo1zuoI7XEDvQ_GIEZRL4fc1DFI0k6U03w=@pm.me> Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Oct 2022 05:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58481 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "58481@debbugs.gnu.org" <58481@debbugs.gnu.org> Received: via spool by 58481-submit@debbugs.gnu.org id=B58481.166563979031369 (code B ref 58481); Thu, 13 Oct 2022 05:44:02 +0000 Received: (at 58481) by debbugs.gnu.org; 13 Oct 2022 05:43:10 +0000 Received: from localhost ([127.0.0.1]:59012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiqzt-00089t-QA for submit@debbugs.gnu.org; Thu, 13 Oct 2022 01:43:10 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:23101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiqzk-000898-2t for 58481@debbugs.gnu.org; Thu, 13 Oct 2022 01:43:08 -0400 Date: Thu, 13 Oct 2022 05:42:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1665639774; x=1665898974; bh=8+vFF1vVgKMaNH9TPF1l0GWgnMOlnmrg5E7jk96N7KQ=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=qAYus3/Vtt+FbG6LJO5Zy+gxZyhIUTxvlKkDzIzY4K8JHQw9z+1tiAap0wLg+NNoF 2jcn84ks5ZMDe+SU6Rvjavkrbp5qVxrmYsFAN+5Y8yfUbU35+5jT4Olg3wXch/JlIU NSPNOpZDLy4h9J6BK1k1X3cdmjRDXUL13DwPBPdhb0C2RcMH4Wsfocpz6W2y557oAy b6ICAMQWjZ10+3p7m809Zupz6a6lKnSloNz+DyeHnDbAcuatA0f7FgZgDuEn3cJrjc jMNkRiUY0xwwuNbuNug3K0LvXACY8Tn5OPJNGZE5rjHF3Hyax0B1jdzrIOMFuV2EGK gH0y77wETywZQ== Message-ID: Feedback-ID: 6989168:user:proton MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Cairn X-ACL-Warn: , Cairn via Guix-patches X-Patchwork-Original-From: Cairn via Guix-patches via From: Cairn X-getmail-retrieved-from-mailbox: Patches * gnu/packages/astronomy.scm (calcmysky): New variable. --- gnu/packages/astronomy.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (name "stellarium") diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 8c53611427..72e923e895 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2021, 2022 Vinicius Monego ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Cairn ;;; ;;; This file is part of GNU Guix. ;;; @@ -727,6 +728,34 @@ (define-public stackistry deconvolution). Such post-processing is not performed by Stackistry.") (license license:gpl3+))) +(define-public calcmysky + (package + (name "calcmysky") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/10110111/CalcMySky") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13wk73c0xyh6c1zpxjzny987x0qdy1gcqy2y5r5a5hiqx4fz3lfj")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + #~(list "-DQT_VERSION=6"))) + (inputs + (list qtbase + glm + eigen)) + (home-page "https://10110111.github.io/CalcMySky/") + (synopsis "Simulator of light scattering by planetary atmospheres") + (description "CalcMySky is a software package that simulates scattering +of light by the atmosphere to render daytime and twilight skies (without +stars). It consists of three parts: CalcMySky, ShowMySky and libShowMySky.") + (license license:gpl3))) + (define-public stellarium (package