From 7bb5a32da7b2b7bd2a31b6cfd4244e55fe0b850a Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Thu, 22 Dec 2016 11:17:44 +0100 Subject: [PATCH] gnu: Add python-hdf4. * gnu/packages/python.scm (python-hdf4, python2-hdf4): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index bfa7eae..1ed3b7d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -715,6 +715,35 @@ certificate returned by the server to which a connection has been established, and verifies that it matches the intended target hostname.") (license license:psfl))) +(define-public python-hdf4 + (package + (name "python-hdf4") + (version "0.9") + (source + (origin + (method url-fetch) + (uri (pypi-uri name version)) + (sha256 + (base32 + "1hjiyrxvxk9817qyqky3nar4y3fs4z8wxz0n884zzb5wi6skrjks")))) + (build-system python-build-system) + (inputs + `(("hdf4" ,hdf4) + ("libjpeg" ,libjpeg) + ("zlib" ,zlib) + ("numpy" ,python-numpy))) + (home-page "https://github.com/fhs/python-hdf4") + (synopsis "Python interface to the NCSA HDF4 library") + (description + "Python-HDF4 is a python wrapper around the NCSA HDF version 4 +library, which implements the SD (Scientific Dataset), VS (Vdata) and +V (Vgroup) API’s. NetCDF files can also be read and modified. +Python-HDF4 is a fork of pyhdf.") + (license license:expat))) + +(define-public python2-hdf4 + (package-with-python2 python-hdf4)) + (define-public python-h5py (package (name "python-h5py") -- 2.7.4