5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
46 lines
840 B
Nix
46 lines
840 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, expat
|
|
, libpng
|
|
, udunits
|
|
, netcdf
|
|
, xorg
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "ncview";
|
|
version = "2.1.9";
|
|
|
|
src = fetchurl {
|
|
url = "https://cirrus.ucsd.edu/~pierce/ncview/ncview-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-4jF6wJSvYvCtz2hCHXBlgglDaq40RkCVnsiXWmRYka8=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
netcdf
|
|
];
|
|
|
|
buildInputs = [
|
|
expat
|
|
libpng
|
|
netcdf
|
|
udunits
|
|
xorg.libICE
|
|
xorg.libSM
|
|
xorg.libX11
|
|
xorg.libXaw
|
|
xorg.libXt
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Visual browser for netCDF format files";
|
|
homepage = "http://meteora.ucsd.edu/~pierce/ncview_home_page.html";
|
|
license = licenses.gpl3Plus;
|
|
mainProgram = "ncview";
|
|
maintainers = with maintainers; [ jmettes ];
|
|
platforms = platforms.all;
|
|
};
|
|
})
|