From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oEo4N1CwB2NxMAEAbAwnHQ (envelope-from ) for ; Thu, 25 Aug 2022 19:24:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KKtAN1CwB2OsRAEA9RJhRA (envelope-from ) for ; Thu, 25 Aug 2022 19:24:32 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7D9FB2CB8 for ; Thu, 25 Aug 2022 19:24:32 +0200 (CEST) Received: from localhost ([::1]:32958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRGal-00050g-2E for larch@yhetil.org; Thu, 25 Aug 2022 13:24:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRGaJ-00050U-7n for guix-patches@gnu.org; Thu, 25 Aug 2022 13:24:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRGaI-0008FP-Up for guix-patches@gnu.org; Thu, 25 Aug 2022 13:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRGaI-0006Yj-EO for guix-patches@gnu.org; Thu, 25 Aug 2022 13:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57410] [PATCH] gnu: Add eccodes. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Aug 2022 17:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57410 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57410@debbugs.gnu.org Cc: Antero Mejr X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166144818225140 (code B ref -1); Thu, 25 Aug 2022 17:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Aug 2022 17:23:02 +0000 Received: from localhost ([127.0.0.1]:51175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRGZK-0006XC-3g for submit@debbugs.gnu.org; Thu, 25 Aug 2022 13:23:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:37420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRGZG-0006Wj-7t for submit@debbugs.gnu.org; Thu, 25 Aug 2022 13:23:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRGZF-0004we-ME for guix-patches@gnu.org; Thu, 25 Aug 2022 13:22:58 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:35848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1oRGZC-00086E-Hi for guix-patches@gnu.org; Thu, 25 Aug 2022 13:22:57 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4MD8tJ03zNz9sX2 for ; Thu, 25 Aug 2022 19:22:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1661448168; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KRJTqiek/uDp7ZOJGgEYQrITlq1mToc2VmHIye6ne8w=; b=fs3xWm4I07BXZA1AS9LYVem+7LO83wiulMGOLmV2UA1yIxp+jo9vujCagr++3ZPDnKNx7D g1fVLcglg8u3PF1Z0JRwzR3Q9+3eA4onixQLjmmR3W+pNYR8ZJu4any2a/ANyP7oYSiVpZ ttR5FktF/HILhtUF05kjxNInST5FB//HuXUZq2Sk0d7CMLTvYg8girTS8r/j3FZG+BC9ma Q+0AjH9LCtj7mauxMO9sC9mXDHo5KIX63FbiQIXZyVGEih9K0wBclzKUYaStkbJDzZVnrh 1XEchKqGCXWFuxT+tikGE5ZSQsEqzVZLlyg1+xJnM2LaAIIyAJ6EoYvrJk+ROw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1661448165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KRJTqiek/uDp7ZOJGgEYQrITlq1mToc2VmHIye6ne8w=; b=kAvdUsDclisPvKWq3sdbOgqh8djCyGAf8UCVxLoM40rifdTTjNKryh66eKAWo9umhEAPta a21WYVFH3HMsNT5AtKbgJge2aIPx98RmGLkFhI5YHY5302NKp1Cg7t/u2tZDC7bb7M0uw/ qOWEwIAnL2sHAJzgHw3iep3JSk1b62twwJYbN0jelYPTO1NaKb50YF8X4BBM4Sjb+9TXZg LRUx7QlfZuTDfdonxenUEomdG1UL+YmyVn0anjIaMH788HZCfN2JJDungaTu4EWKcNliXS 0wLJ+po8xiI7Gg2WNwIeNvOeFHxQLTaDHJDxNzIXtZwaJf3rFWoyXFoXjImCVg== Date: Thu, 25 Aug 2022 13:22:27 -0400 Message-Id: <20220825172227.1110221-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: 85124bd92a5a759261d X-MBO-RS-META: 6k14j3rcqss7iuhbcz5z1r11cwdc87kh Received-SPF: pass client-ip=80.241.56.171; envelope-from=antero@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661448272; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KRJTqiek/uDp7ZOJGgEYQrITlq1mToc2VmHIye6ne8w=; b=Le6Ky7/36+dsnZjTQxS3SONgDT7LLVa+BB9EEuUGD5ZW1tON8+lOU9nZ2e9web5lzECYUq JJoQbK74v+JnwBR8gGHcROIxw8/8SAY9C7IK6/Yi6SHgHEqQfj/cYfc8QqGj1if0BERJM4 rfAbzOQDEoHTvmAAJ4ImbyQowng1RkjeyA7WyiPb2tHyonhz2oXJ8XG2IDOXKdxgcbWYcd ds+WcdN3z5DI9Cf0q//ZPR3fAo9+Ahtl8gMYrjFuD62HHoZv44+KyJYwZvrP9kQj2HG146 YsZRNlivGmxVSBPB42lV7mhzmd02nXcAnSKqBoWO9xw11lmVyXJCmQUxFAzX4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661448272; a=rsa-sha256; cv=none; b=bPPwhhf9NV4xw3+AsNT0iSiIFmeKPzrBeW4j+VX6KDoEka8YvvmWq5v7dXOLJISRM9VCs5 bIY6GvELBIT9qwVimjOVx87dAg5KDxfNNsxYE8yCa1UCCNv6HVyq893EbIm59c4qbvTzI4 yFkihoNQwDMd9xnOiJcRbj5S+0uYSg9iUBan0snm3srB9mYVTCUA2IFA/rADRc+AIVWN9a issM3c63jeip4++QTzAqCS7/jsDgSh5DAzSW1kg0DgVYWw6yTDsN8CHZ6s/IDwyta07pS2 6RAbYctnyhoTMqO6eiaKHoAGatuCxjJTMhcoi2nNLY/LQ/go25k1O8LIP/ixhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=fs3xWm4I; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=kAvdUsDc; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=fs3xWm4I; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=kAvdUsDc; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7D9FB2CB8 X-Spam-Score: -3.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: mLBmPXnHVi3r * 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