From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GPtzBTQNkWCpgQAAgWs5BA (envelope-from ) for ; Tue, 04 May 2021 11:00:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GOzSADQNkWDbRAAAbx9fmQ (envelope-from ) for ; Tue, 04 May 2021 09:00:36 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 65F6ADEB6 for ; Tue, 4 May 2021 11:00:35 +0200 (CEST) Received: from localhost ([::1]:46714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldquw-0008EJ-E1 for larch@yhetil.org; Tue, 04 May 2021 05:00:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldqtT-0006ZN-P2 for guix-patches@gnu.org; Tue, 04 May 2021 04:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldqtT-0000Fp-G9 for guix-patches@gnu.org; Tue, 04 May 2021 04:59:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldqtT-0004cs-F0 for guix-patches@gnu.org; Tue, 04 May 2021 04:59:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48217] [PATCH 6/9] gnu: Add sgp4. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 May 2021 08:59:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48217 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48217@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 48217-submit@debbugs.gnu.org id=B48217.162011869317713 (code B ref 48217); Tue, 04 May 2021 08:59:03 +0000 Received: (at 48217) by debbugs.gnu.org; 4 May 2021 08:58:13 +0000 Received: from localhost ([127.0.0.1]:51842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldqsf-0004bY-3i for submit@debbugs.gnu.org; Tue, 04 May 2021 04:58:13 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldqsd-0004aw-L5 for 48217@debbugs.gnu.org; Tue, 04 May 2021 04:58:12 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 09EF424002A for <48217@debbugs.gnu.org>; Tue, 4 May 2021 10:58:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620118686; bh=TKIyYshWNNlBCxkYR8vWqWzaqqLwsGwjZ3MyZEKvrxs=; h=From:To:Cc:Subject:Date:From; b=I5L1Q+zbSdkmV1Jdwe9N6TQHdEF5Njc1faoJrZaMkFHN7jpjvwByYvaILtDBQoXy1 fqUSaods6LZiJaN96Y3YfTzqbwMEP4c6xmchbdJq3w5uScuIvMGk0bVYL0TkBHgRDw masGeMCLugwQ3+mHu+shjl9TniuwBjV9XvjqmtBjBjA7W/QhkHpnU8JH9jBu8gp4qa Gd8bknun4JYGwwkD9he2ZD+hxjIW61o9mk34kXIo38fpLTrdv19xAyY6hycNTFZTem 7dUsshTcVg9dK3LDhC4L6aE3HzdwTLtYEIQ1WHQrtd0mWUyZzcdipNgtgF+06XFPhU b0sbqQjQO953A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FZDJY1NZsz6tm6; Tue, 4 May 2021 10:58:05 +0200 (CEST) From: Guillaume Le Vaillant Date: Tue, 4 May 2021 08:57:02 +0000 Message-Id: <20210504085705.5298-6-glv@posteo.net> In-Reply-To: <20210504085705.5298-1-glv@posteo.net> References: <87czu6rimc.fsf@yamatai> <20210504085705.5298-1-glv@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620118835; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+CDrXmHYY5Cl67F1pbMyxjJT3lOYCLffrj4OuFx8Wos=; b=cCAlUD3s63/Y4Wj8bl/04k64bnamOangrseScGtmXicc0jxb+AN5VrDy2xZKJPYYKJMRJA /t+JXe1myqexq7X/uIoEdlm37pwxy5G16w34LvSCzokn9U3ZCq2exKSLgI1SRKPpnrbiQh 4BsyeMqtSVpXPMQ727TWwLsa5/NJx3btJI5It8T9nj++7hSvB1IwDTEh8W8fJogXz8eabu jjX/FXggm2S6mTtkY/o27PvFLWv/PPr7AydxhoX4fCXNIsNGjSWa3B8LcCo9hSGPPAl6hv YHfKntzEU6PTFROTaFhvhdgjjYasFOGEm0FP2a++bzM+D4MceIbMJv60u37ZUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620118835; a=rsa-sha256; cv=none; b=WkNJJB8eZEOAokMv1yXgOLIErjIstaOl5I0QQ9CarpZjDCuLO1BV48plIRiAwL6PBWGoC3 bJSKu0BdCdMB8PH/WKY3ejdV3HXstVdyTIGoa/ydI4VzLC2D/7N7Cwj+VFf62RQA4O/PLM EA4L34YXnOmqpI9hLuqKhy47y/9MCpGEvbPp09XEhB7WVUOznAn87lERsDJH+SbF6xJSVZ 1mEiu6sWjggDk+57/hAPxOfRR8aapxwHb9I5wGVPQj4/7lYjyo+CltyoVAgS+LXuTJekWt cMbXeZ9UxYBrfvZTCdSfFYtd88YWNESIJYrBmFMyTJx/kxxg5e3mzod+oOb5ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=I5L1Q+zb; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=I5L1Q+zb; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 65F6ADEB6 X-Spam-Score: -0.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: +W/d1cgwqy+c * gnu/packages/astronomy.scm (sgp4): New variable. --- gnu/packages/astronomy.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 85164e7262..dfcf144545 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2018, 2019, 2020, 2021 Efraim Flashner ;;; Copyright © 2019 by Amar Singh ;;; Copyright © 2020 R Veera Kumar -;;; Copyright © 2020 Guillaume Le Vaillant +;;; Copyright © 2020, 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. @@ -792,6 +792,39 @@ provide you with detailed information about each pass.") (home-page "http://gpredict.oz9aec.net/index.php") (license license:gpl2+))) +(define-public sgp4 + ;; No tagged releases, use commit directly. + (let ((commit "ca9d4d97af4ee62461de6f13e0c85d1dc6000040") + (revision "1")) + (package + (name "sgp4") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dnwrnr/sgp4") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xwfa6papmd2qz5w0hwzvijmzvp9np8dlw3q3qz4bmsippzjv8p7")))) + (build-system cmake-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + ;; Tests fails, probably because of a few "(e <= -0.001)" errors. + ;; Or maybe this is not the right way to run the tests? + ;; (invoke "runtest/runtest") + #t))))) + (home-page "https://github.com/dnwrnr/sgp4") + (synopsis "Simplified perturbations models library") + (description + "This is a library implementing the simplified perturbations model. +It can be used to calculate the trajectory of satellites.") + (license license:asl2.0)))) + (define-public indi (package (name "indi") -- 2.31.1