lol
1{ stdenv, fetchurl, netcdf, hdf5, curl }:
2stdenv.mkDerivation rec {
3 name = "netcdf-cxx4-${version}";
4 version = "4.2.1";
5
6 src = fetchurl {
7 url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz";
8 sha256 = "1g0fsmz59dnjib4a7r899lm99j3z6yxsw10c0wlihclzr6znmmds";
9 };
10
11 buildInputs = [ netcdf hdf5 curl ];
12 doCheck = true;
13
14 meta = {
15 description = "C++ API to manipulate netcdf files";
16 homepage = http://www.unidata.ucar.edu/software/netcdf/;
17 license = stdenv.lib.licenses.free;
18 platforms = stdenv.lib.platforms.unix;
19 };
20}