diff --git a/pkgs/development/libraries/netcdf/default.nix b/pkgs/development/libraries/netcdf/default.nix index 1e354a49cfd..b67dcafb0f9 100644 --- a/pkgs/development/libraries/netcdf/default.nix +++ b/pkgs/development/libraries/netcdf/default.nix @@ -1,9 +1,10 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchurl, zlib, hdf5 }: -stdenv.mkDerivation { - name = "netcdf-4.1.1"; +stdenv.mkDerivation rec { + name = "netcdf-4.3.2"; src = fetchurl { - url = http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.1.1.tar.gz; - sha256 = "1c1g6ig24fn1fm5wwzv4w832li2jikblvbjv6wwg0mwc6yfxccvr"; + url = "http://www.unidata.ucar.edu/downloads/netcdf/ftp/${name}.tar.gz"; + sha256 = "57086b4383ce9232f05aad70761c2a6034b1a0c040260577d369b3bbfe6d248e"; }; -} \ No newline at end of file + buildInputs = [zlib hdf5]; +}