2014-10-15 11:50:21 +02:00
|
|
|
{ stdenv, fetchurl,
|
|
|
|
zlib, hdf5,
|
|
|
|
curl # for DAP
|
|
|
|
}:
|
2010-11-17 11:05:46 +01:00
|
|
|
|
2014-11-10 15:54:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "netcdf-4.3.2";
|
2010-11-17 11:05:46 +01:00
|
|
|
src = fetchurl {
|
2014-11-10 15:54:37 +01:00
|
|
|
url = "http://www.unidata.ucar.edu/downloads/netcdf/ftp/${name}.tar.gz";
|
|
|
|
sha256 = "57086b4383ce9232f05aad70761c2a6034b1a0c040260577d369b3bbfe6d248e";
|
2010-11-17 11:05:46 +01:00
|
|
|
};
|
2014-10-15 11:50:21 +02:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
zlib hdf5 curl
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-netcdf-4"
|
|
|
|
"--enable-dap"
|
|
|
|
"--enable-shared"
|
|
|
|
];
|
2014-11-10 15:54:37 +01:00
|
|
|
}
|