From 4fac8b8f9bcc6742ea148ffcd52bd3cdbc746e16 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 19 Feb 2021 10:00:56 +0100 Subject: gnu: Add erfa. * gnu/packages/astronomy.scm (erfa): New variable. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/astronomy.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/astronomy.scm') diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 9f6b102af7..09ac9e0157 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") -- cgit v1.2.3