diff options
Diffstat (limited to 'pkgs/tools/X11/ncview/default.nix')
-rw-r--r-- | pkgs/tools/X11/ncview/default.nix | 25 |
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 ]; + }; +} |