about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/X11/ncview/default.nix
blob: c22c6c0eb38ab19c935bcadf48a782bbe0eefd70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchurl
, netcdf, xlibsWrapper, 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 xlibsWrapper xorg.libXaw udunits expat ];

  meta = with 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 ];
  };
}