From 5b553893c18cdee7226ca563d21220e76e283d4a Mon Sep 17 00:00:00 2001 From: Josef Kemetmüller Date: Fri, 18 Dec 2015 15:16:39 +0000 Subject: grib-api: init at 1.14.4 --- pkgs/development/libraries/grib-api/default.nix | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/development/libraries/grib-api/default.nix (limited to 'pkgs/development/libraries/grib-api') diff --git a/pkgs/development/libraries/grib-api/default.nix b/pkgs/development/libraries/grib-api/default.nix new file mode 100644 index 00000000000..ee505b54e7e --- /dev/null +++ b/pkgs/development/libraries/grib-api/default.nix @@ -0,0 +1,32 @@ +{ fetchurl, stdenv, curl, + netcdf, jasper, openjpeg }: + +stdenv.mkDerivation rec{ + name = "grib-api-${version}"; + version = "1.14.4"; + + src = fetchurl { + url = https://software.ecmwf.int/wiki/download/attachments/3473437/grib_api-1.14.4-Source.tar.gz; + sha256 = "1w8z9y79wakhwv1r4rb4dwlh9pbyw367klcm6laxz91hhvfrpfq8"; + }; + + buildInputs = [ netcdf + jasper + openjpeg + curl # Used for downloading during make test + ]; + doCheck = true; + + meta = with stdenv.lib; { + homepage = "https://software.ecmwf.int/wiki/display/GRIB/Home"; + license = licenses.asl20; + description = "ECMWF Library for the GRIB file format"; + longDescription = '' + The ECMWF GRIB API is an application program interface accessible from C, + FORTRAN and Python programs developed for encoding and decoding WMO FM-92 + GRIB edition 1 and edition 2 messages. + ''; + + }; +} + -- cgit 1.4.1