unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57410] [PATCH] gnu: Add eccodes.
@ 2022-08-25 17:22 Antero Mejr via Guix-patches via
  2022-08-25 17:27 ` [bug#57410] [PATCH] gnu: Add ecbuild Antero Mejr via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Antero Mejr via Guix-patches via @ 2022-08-25 17:22 UTC (permalink / raw)
  To: 57410; +Cc: Antero Mejr

* gnu/packages/geo.scm (eccodes): New variable.
---
 gnu/packages/geo.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 0c869fdebb..f1151fa95c 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -64,6 +64,7 @@ (define-module (gnu packages geo)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages build-tools)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cpp)
   #:use-module (gnu packages cups)
@@ -76,6 +77,7 @@ (define-module (gnu packages geo)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fonts)
   #: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)
@@ -112,6 +114,7 @@ (define-module (gnu packages geo)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages shells)
   #:use-module (gnu packages swig)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages textutils)
@@ -2797,3 +2800,35 @@ (define-public libaec
 point representations are not directly supported, they can also be efficiently
 coded by grouping exponents and mantissa.")
     (license license:bsd-2)))
+
+(define-public eccodes
+  (package
+    (name "eccodes")
+    (version "2.27.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ecmwf/eccodes")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1hd4lli6g4m77rdfqwq8kxqpgn9na7lhv0j47w0sw9ihy8qllq41"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:configure-flags #~(list "-DECBUILD_DISABLE_NEW_DTAGS=OFF"
+                                     "-DENABLE_PNG=ON")))
+    (native-inputs (list ecbuild gfortran perl))
+    (inputs (list oksh libaec libpng netcdf openjpeg))
+    (home-page "https://confluence.ecmwf.int/display/ECC")
+    (synopsis "Encoder/decoder for GRIB and BUFR meteorological data files")
+    (description "ecCodes is a package developed by ECMWF which provides an
+application programming interface and a set of tools for decoding and encoding
+messages in the following formats:
+
+@itemize
+@item WMO FM-92 GRIB edition 1 and edition 2
+@item WMO FM-94 BUFR edition 3 and edition 4
+@item WMO GTS abbreviated header (only decoding)
+@end itemize")
+    (license license:asl2.0)))
-- 
2.37.2





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

end of thread, other threads:[~2023-09-02  4:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-25 17:22 [bug#57410] [PATCH] gnu: Add eccodes Antero Mejr via Guix-patches via
2022-08-25 17:27 ` [bug#57410] [PATCH] gnu: Add ecbuild Antero Mejr via Guix-patches via
2022-08-28 15:22   ` Maxime Devos
2022-08-25 17:30 ` [bug#57410] [PATCH] gnu: Add libaec Antero Mejr via Guix-patches via
2022-08-29 17:32 ` [bug#57410] [PATCH] gnu: Add ecbuild Antero Mejr via Guix-patches via
2023-09-02  4:13   ` Vagrant Cascadian

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).