From 49b7f613a7a0769de220a4c157f0fc00d4cd13ab Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Fri, 11 Sep 2015 12:34:34 +0000 Subject: [PATCH] netcdf-cxx4: init at 4.2.1 --- .../libraries/netcdf-cxx4/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/libraries/netcdf-cxx4/default.nix diff --git a/pkgs/development/libraries/netcdf-cxx4/default.nix b/pkgs/development/libraries/netcdf-cxx4/default.nix new file mode 100644 index 000000000000..9b2364e7090e --- /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 10cd25995a25..6389ab3290ba 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 { };