diff options
-rw-r--r-- | pkgs/development/libraries/netcdf-cxx4/default.nix | 19 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/netcdf-cxx4/default.nix b/pkgs/development/libraries/netcdf-cxx4/default.nix new file mode 100644 index 0000000000000..9b2364e7090e1 --- /dev/null +++ b/pkgs/development/libraries/netcdf-cxx4/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl, netcdf, hdf5, curl }: +stdenv.mkDerivation rec { + name = "netcdf-cxx4-${version}"; + version = "4.2.1"; + + src = fetchurl { + url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz"; + sha256 = "1g0fsmz59dnjib4a7r899lm99j3z6yxsw10c0wlihclzr6znmmds"; + }; + + buildInputs = [ netcdf hdf5 curl ]; + doCheck = true; + + meta = { + description = "C++ API to manipulate netcdf files"; + homepage = "http://www.unidata.ucar.edu/software/netcdf/"; + license = stdenv.lib.licenses.free; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 10cd25995a252..6389ab3290ba7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2349,6 +2349,8 @@ let netcdf = callPackage ../development/libraries/netcdf { }; + netcdfcxx4 = callPackage ../development/libraries/netcdf-cxx4 { }; + nc6 = callPackage ../tools/networking/nc6 { }; ncat = callPackage ../tools/networking/ncat { }; |