Merge pull request #11811 from knedlsepp/grib-api

grib-api: init at 1.14.4
This commit is contained in:
Arseniy Seroka 2015-12-20 15:08:03 +03:00
commit 66b294dd48
2 changed files with 34 additions and 0 deletions

View File

@ -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.
'';
};
}

View File

@ -6571,6 +6571,8 @@ let
gperftools = callPackage ../development/libraries/gperftools { };
grib-api = callPackage ../development/libraries/grib-api { };
gst_all_1 = recurseIntoAttrs(callPackage ../development/libraries/gstreamer {
callPackage = pkgs.newScope (pkgs // { libav = pkgs.ffmpeg; });
});