lol

netcdf: enabled HDF5, DAP, UDUNITS, and shared library

authored by

taku0 and committed by
Peter Simons
e125997d 18e5582f

+15 -2
+15 -2
pkgs/development/libraries/netcdf/default.nix
··· 1 - { stdenv, fetchurl, zlib, hdf5 }: 1 + { stdenv, fetchurl, 2 + zlib, hdf5, 3 + curl # for DAP 4 + }: 2 5 3 6 stdenv.mkDerivation rec { 4 7 name = "netcdf-4.3.2"; ··· 6 9 url = "http://www.unidata.ucar.edu/downloads/netcdf/ftp/${name}.tar.gz"; 7 10 sha256 = "57086b4383ce9232f05aad70761c2a6034b1a0c040260577d369b3bbfe6d248e"; 8 11 }; 9 - buildInputs = [zlib hdf5]; 12 + 13 + buildInputs = [ 14 + zlib hdf5 curl 15 + ]; 16 + 17 + configureFlags = [ 18 + "--enable-netcdf-4" 19 + "--enable-dap" 20 + "--with-udunits" 21 + "--enable-shared" 22 + ]; 10 23 }