guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/11: gnu: Add erfa.


From: guix-commits
Subject: 06/11: gnu: Add erfa.
Date: Fri, 19 Feb 2021 05:07:02 -0500 (EST)

glv pushed a commit to branch master
in repository guix.

commit 4fac8b8f9bcc6742ea148ffcd52bd3cdbc746e16
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Feb 19 10:00:56 2021 +0100

    gnu: Add erfa.
    
    * gnu/packages/astronomy.scm (erfa): New variable.
    
    Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
 gnu/packages/astronomy.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9f6b102..09ac9e0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -113,6 +113,32 @@ in FITS files.")
 for reading and writing.")
     (license license:gpl2+)))
 
+(define-public erfa
+  (package
+    (name "erfa")
+    (version "1.7.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/liberfa/erfa";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1vsqwvzlk7r8q7nwyb7i710blcfdl5kwcm2va9km07a820nsp84a"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("automake" ,automake)
+       ("autoreconf" ,autoconf)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://github.com/liberfa/erfa";)
+    (synopsis "Essential Routines for Fundamental Astronomy")
+    (description
+     "ERFA is a C library containing key algorithms for astronomy, and is based
+on the SOFA library published by the International Astronomical Union (IAU).")
+    (license license:bsd-3)))
+
 (define-public eye
   (package
     (name "eye")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]