From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Robst Subject: [PATCH] gnu: Add hdf4 Date: Mon, 23 May 2016 18:22:09 +0100 (BST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4tYl-0000p4-8N for guix-devel@gnu.org; Mon, 23 May 2016 13:22:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4tYf-0005tC-3q for guix-devel@gnu.org; Mon, 23 May 2016 13:22:30 -0400 Received: from smtp-out6.electric.net ([192.162.217.190]:52275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4tYe-0005rN-UE for guix-devel@gnu.org; Mon, 23 May 2016 13:22:25 -0400 Received: from 1b4tYQ-0000S2-Ul by out6a.electric.net with emc1-ok (Exim 4.87) (envelope-from ) id 1b4tYQ-0000SH-VZ for guix-devel@gnu.org; Mon, 23 May 2016 10:22:10 -0700 Received: from [192.171.137.70] (helo=bsmail.nerc-bas.ac.uk) by out6a.electric.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1b4tYQ-0000S2-Ul for guix-devel@gnu.org; Mon, 23 May 2016 10:22:10 -0700 Received: from ams3.nerc-bas.ac.uk (ams3 [10.2.1.142]) by bsmail.nerc-bas.ac.uk (8.13.8/8.13.8) with ESMTP id u4NHM9qK031359 for ; Mon, 23 May 2016 18:22:10 +0100 Received: from [10.14.1.90] (helo=jpro.nerc-bas.ac.uk) by ams3.nerc-bas.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1b4tYP-0007Ak-Kt for guix-devel@gnu.org; Mon, 23 May 2016 17:22:09 +0000 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/maths.scm (hdf4): New variable --- gnu/packages/maths.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 19ed44f..570cc32 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -408,6 +408,41 @@ plotting engine by third-party applications like Octave.") (license (license:fsf-free "http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright")))) +(define-public hdf4 + (package + (name "hdf4") + (version "4.2.11") + (source + (origin + (method url-fetch) + (uri (string-append + "http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/hdf-" + version + ".tar.bz2")) + (sha256 + (base32 + "16yr50j845zlfx20skmw3y75ww77akk9gg0affjqkg66ih5r03mv")))) + (build-system gnu-build-system) + (native-inputs + `(("gfortran" ,gfortran) + ("bison" ,bison) + ("flex" ,flex))) + (inputs + `(("zlib" ,zlib) + ("libjpeg" ,libjpeg))) + (arguments '(#:tests? #f)) + + (home-page "https://www.hdfgroup.org/products/hdf4/") + (synopsis + "Library and multi-object file format for storing and managing data") + (description "At its lowest level, HDF is a physical file format for +storing scientific data. At its highest level, HDF is a collection of +utilities and applications for manipulating, viewing, and analyzing data +in HDF files. Between these levels, HDF is a software library that provides +high-level APIs and a low-level data interface. ") + (license (license:x11-style + "https://www.hdfgroup.org/ftp/HDF/HDF_Current/src/unpacked/COPYING")))) + (define-public hdf5 (package (name "hdf5") -- 1.7.10.4