about summary refs log tree commit diff
path: root/pkgs/development/libraries/netcdf-cxx4
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2015-09-11 12:34:34 +0000
committerLancelot SIX <lsix@lancelotsix.com>2015-09-12 21:52:36 +0000
commit49b7f613a7a0769de220a4c157f0fc00d4cd13ab (patch)
tree97c40b7f1da80afa4cc5e6805b38168bfe8f2432 /pkgs/development/libraries/netcdf-cxx4
parente62b38bee8ab8f19ee94d0edfb6e819dbe6fdd00 (diff)
netcdf-cxx4: init at 4.2.1
Diffstat (limited to 'pkgs/development/libraries/netcdf-cxx4')
-rw-r--r--pkgs/development/libraries/netcdf-cxx4/default.nix19
1 files changed, 19 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;
+  };
+}