summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/X11/ncview
diff options
context:
space:
mode:
authorJonathan Mettes <jonathan.mettes@gmail.com>2018-08-09 16:41:12 +1000
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-09 08:41:12 +0200
commit237c956b0a9287af9bfa841e0e7a5a9a147602c9 (patch)
treea43332d1309ac7f17557b3e4c96f5e3b15d4f7be /pkgs/tools/X11/ncview
parent33247bce391e1ac1edafebe8bca2c784e4b16382 (diff)
ncview: init at 2.1.8 (#44778)
Diffstat (limited to 'pkgs/tools/X11/ncview')
-rw-r--r--pkgs/tools/X11/ncview/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/X11/ncview/default.nix b/pkgs/tools/X11/ncview/default.nix
new file mode 100644
index 000000000000..e4ba08a6ff36
--- /dev/null
+++ b/pkgs/tools/X11/ncview/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl
+, netcdf, x11, xorg, udunits, expat
+}:
+
+let
+ pname = "ncview";
+ version = "2.1.8";
+
+in stdenv.mkDerivation {
+ name = "${pname}-${version}";
+
+ src = fetchurl {
+ url = "ftp://cirrus.ucsd.edu/pub/ncview/ncview-2.1.8.tar.gz";
+ sha256 = "1gliziyxil2fcz85hj6z0jq33avrxdcjs74d500lhxwvgd8drfp8";
+ };
+
+ buildInputs = [ netcdf x11 xorg.libXaw udunits expat ];
+
+ meta = with stdenv.lib; {
+ description = "Visual browser for netCDF format files";
+ homepage = "http://meteora.ucsd.edu/~pierce/ncview_home_page.html";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ jmettes ];
+ };
+}