From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aJvCNFFckmCKdQEAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 10:50:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qJBkMFFckmBFJQAAB5/wlQ (envelope-from ) for ; Wed, 05 May 2021 08:50:25 +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 4AD52233CB for ; Wed, 5 May 2021 10:50:25 +0200 (CEST) Received: from localhost ([::1]:36552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leDEe-00031J-C8 for larch@yhetil.org; Wed, 05 May 2021 04:50:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leDEJ-0002di-32 for guix-patches@gnu.org; Wed, 05 May 2021 04:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47156) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leDEI-000263-R3 for guix-patches@gnu.org; Wed, 05 May 2021 04:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leDEI-0006Nw-P9 for guix-patches@gnu.org; Wed, 05 May 2021 04:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48217] [PATCH v2 6/9] gnu: Add sgp4. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 May 2021 08:50:02 +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.162020456524459 (code B ref 48217); Wed, 05 May 2021 08:50:02 +0000 Received: (at 48217) by debbugs.gnu.org; 5 May 2021 08:49:25 +0000 Received: from localhost ([127.0.0.1]:58688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leDDg-0006MR-CV for submit@debbugs.gnu.org; Wed, 05 May 2021 04:49:25 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leDDa-0006Lr-2g for 48217@debbugs.gnu.org; Wed, 05 May 2021 04:49:23 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 712BF24002D for <48217@debbugs.gnu.org>; Wed, 5 May 2021 10:49:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620204552; bh=UwPgtfobIjm+61+Qk8RusrSKoUR74/sAQFDP/THBa18=; h=From:To:Cc:Subject:Date:From; b=bslgn1KWMcF2mky3DuyqyKdQzi3L+F/7Wp0Bm3HFVGA5FG7zxWVxqrDc8oGLKm7zv p18Ev7RAOeM+WPeNjQIJpmkg5eFahpVOwQL4WdpWa+L0LzvIkcZQpglwd0eRqaROOh ev4Yf7FcUc8v+WRER0Mf25L1gxZKmzBNnD6Nwmh5OHTyFHhcVZoY9R+nCFC52OfYhQ p2myUSuibPTpTVPxSGc4zBZRJ+oJLF3L1HI0varncdnjbdChK6BvFAbOJTPJT5ZcNx zpmOfsdsxheC/J9AHwXLTptIjIaJGs6wrpep0nXIxLSU8AeKBjHE0O2qKIesYMECBj SjJzWDmQ4POpQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FZr3q4W09z9rxD; Wed, 5 May 2021 10:49:11 +0200 (CEST) From: Guillaume Le Vaillant Date: Wed, 5 May 2021 08:48:21 +0000 Message-Id: <20210505084824.22275-6-glv@posteo.net> In-Reply-To: <20210505084824.22275-1-glv@posteo.net> References: <20210505084824.22275-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=1620204625; 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=6+10yms9+4lP0mAto5rNbNeFNJnXTgh3R6m/dHBw+V0=; b=TP6rLiz5A4WvPEHT/4OGYGgmvi31tAQzK71GY+EtQT2BkwQiJcjY/t/2iBehPNwZf1Ko2c BGMw5/dCM3mFGSHSS9jgvMpQwMH3kbDTaNBUMLGbn4zui9vjP2lLADv2Baxs6Xy2aNFNNU 704gX0eqOs1XOIbUDOn6x0SGFeJ5RRk2j9tjpzmpFwgTVoEVtwUnegSciWzqeJYw3M7SU8 HFZvER7E1SFnqkgYDAyzFrO4W4t3PNgSKMJhgIsdMKUA3/mEdFcD3+NQqgVBAiaX6mHezF Lfd7HdQiNHYEBH6seoAYP+cpE0qJsvysv+V4ssbS8AWeQt9x3ntbWg47VUVd7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620204625; a=rsa-sha256; cv=none; b=NMTwxM2OEgvWmd5jq0Snt0cM8xkpE4TGuXQGbGPdQ8F0eHhF6ro6XBB5tRHFiQZIbQZ3S9 uLbvKtYbAuEwMJUT/uaBdz1p5VWS4gzcZXiqgIh5TuchF++fqL++ltn8R4H+7XeDpFhvL2 yOng8tzcZYYu8IsovLYKGpL31U1aU8fQwrFNU4+uaEnoZDVV+uIcqd4GccT4L2nVzy5eNT iaBV5mxGURtbnaRGADszhmJoqPELug1UzgbMSEJkX196ySTcsXrF3MDESxg9F8+eecyGGA bls1A0nsBTiFOmSbSLKfEBsitXe5ZWdetm3+yZ21RR7vwLzvAhu6w45Z7s3vNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=bslgn1KW; 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=bslgn1KW; 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: 4AD52233CB X-Spam-Score: -0.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: aNs8q8iWHKfG * 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 c7d27a58d3..6d1c4ddfe6 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