[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: gnu: Add sgp4.
From: |
guix-commits |
Subject: |
06/09: gnu: Add sgp4. |
Date: |
Fri, 7 May 2021 12:43:57 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit d1b1e21ded25425c4c706943ce1eb7356c9e305a
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Mon May 3 19:34:34 2021 +0200
gnu: Add sgp4.
* 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 c7d27a5..6d1c4dd 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019 by Amar Singh <nly@disroot.org>
;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in>
-;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; 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")
- branch master updated (71e9522 -> d87547d), guix-commits, 2021/05/07
- 01/09: gnu: Add csdr., guix-commits, 2021/05/07
- 02/09: gnu: Add serialdv., guix-commits, 2021/05/07
- 03/09: gnu: aptdec: Update to 1.7-1.5f91799., guix-commits, 2021/05/07
- 04/09: gnu: Add cm256cc., guix-commits, 2021/05/07
- 05/09: gnu: Add libdab., guix-commits, 2021/05/07
- 06/09: gnu: Add sgp4.,
guix-commits <=
- 07/09: gnu: Add mbelib., guix-commits, 2021/05/07
- 08/09: gnu: Add dsdcc., guix-commits, 2021/05/07
- 09/09: gnu: Add sdrangel., guix-commits, 2021/05/07