unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55509] [PATCH 0/1] gnu: Add calceph
@ 2022-05-18 20:40 Sharlatan Hellseher
  2022-05-18 20:50 ` [bug#55509] [PATCH 1/1]: " Sharlatan Hellseher
  0 siblings, 1 reply; 3+ messages in thread
From: Sharlatan Hellseher @ 2022-05-18 20:40 UTC (permalink / raw)
  To: 55509

Hi Guix team!

While saving up to update python-asdf due to dependency on newer
python-pytest package, I've found one more astronomical library which
it is simple to pack with few farther packages depending on it.

gnu/packages/astronomy.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)


base-commit: 4f7cd5daa2291ac976ad47a66306b982033c09f0


-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#55509] [PATCH 1/1]: gnu: Add calceph
  2022-05-18 20:40 [bug#55509] [PATCH 0/1] gnu: Add calceph Sharlatan Hellseher
@ 2022-05-18 20:50 ` Sharlatan Hellseher
  2022-05-30 14:32   ` bug#55509: [PATCH 0/1] " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Sharlatan Hellseher @ 2022-05-18 20:50 UTC (permalink / raw)
  To: 55509

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-gnu-Add-calceph.patch --]
[-- Type: text/x-patch, Size: 2436 bytes --]

From 896533a7f558d975d96367eb1ae3fe34e90a5c8f Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Wed, 18 May 2022 21:31:18 +0100
Subject: [PATCH 1/1] gnu: Add calceph

* gnu/packages/astronomy.scm (calceph): New variable.
---
 gnu/packages/astronomy.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c209b1538f..5d2c8fb46a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -39,6 +39,7 @@ (define-module (gnu packages astronomy)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages gcc)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
@@ -71,6 +72,44 @@ (define-module (gnu packages astronomy)
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public calceph
+  (package
+    (name "calceph")
+    (version  "3.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://www.imcce.fr/content/medias/recherche/equipes/asd/calceph/calceph-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "078wn773pwf4pg9m0h0l00g4aq744pq1rb6kz6plgdpzp3hhpk1k"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list gfortran))
+    (home-page "https://www.imcce.fr/inpop/calceph")
+    (synopsis "Astronomical library to access the binary planetary ephemeris files")
+    (description
+     "The CALCEPH Library is designed to access the binary planetary ephemeris files,
+such INPOPxx and JPL DExxx ephemeris files, (called @code{original JPL binary} or
+@code{INPOP 2.0 or 3.0 binary} ephemeris files in the next sections) and the SPICE
+kernel files (called @code{SPICE} ephemeris files in the next sections).  At the
+moment, supported SPICE files are:
+
+@itemize
+@item text Planetary Constants Kernel (KPL/PCK) files;
+
+@item binary PCK (DAF/PCK) files;
+
+@item binary SPK (DAF/SPK) files containing segments of type 1, 2, 3, 5, 8, 9,
+12, 13, 17, 18, 19, 20, 21, 102, 103 and 120;
+
+@item meta kernel (KPL/MK) files;
+
+@item frame kernel (KPL/FK) files.  Only a basic support is provided;)
+@end itemize\n")
+    (license license:cecill)))
+
 (define-public cfitsio
   (package
     (name "cfitsio")
-- 
2.36.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#55509: [PATCH 0/1] gnu: Add calceph
  2022-05-18 20:50 ` [bug#55509] [PATCH 1/1]: " Sharlatan Hellseher
@ 2022-05-30 14:32   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2022-05-30 14:32 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 55509-done

[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

Hi,

Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

> From 896533a7f558d975d96367eb1ae3fe34e90a5c8f Mon Sep 17 00:00:00 2001
> From: Sharlatan Hellseher <sharlatanus@gmail.com>
> Date: Wed, 18 May 2022 21:31:18 +0100
> Subject: [PATCH 1/1] gnu: Add calceph
>
> * gnu/packages/astronomy.scm (calceph): New variable.

Applied with the cosmetic changes below, thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 668 bytes --]

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 99b8e16b9c..86705bbf19 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -98,15 +98,11 @@ (define-public calceph
 
 @itemize
 @item text Planetary Constants Kernel (KPL/PCK) files;
-
 @item binary PCK (DAF/PCK) files;
-
 @item binary SPK (DAF/SPK) files containing segments of type 1, 2, 3, 5, 8, 9,
 12, 13, 17, 18, 19, 20, 21, 102, 103 and 120;
-
 @item meta kernel (KPL/MK) files;
-
-@item frame kernel (KPL/FK) files.  Only a basic support is provided;)
+@item frame kernel (KPL/FK) files (only basic support).
 @end itemize\n")
     (license license:cecill)))
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-30 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 20:40 [bug#55509] [PATCH 0/1] gnu: Add calceph Sharlatan Hellseher
2022-05-18 20:50 ` [bug#55509] [PATCH 1/1]: " Sharlatan Hellseher
2022-05-30 14:32   ` bug#55509: [PATCH 0/1] " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).