2018-08-09 08:41:12 +02:00
|
|
|
{ stdenv, fetchurl
|
2018-09-13 07:22:39 +02:00
|
|
|
, netcdf, xlibsWrapper, xorg, udunits, expat
|
2018-08-09 08:41:12 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2018-09-13 07:22:39 +02:00
|
|
|
buildInputs = [ netcdf xlibsWrapper xorg.libXaw udunits expat ];
|
2018-08-09 08:41:12 +02:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|