2022-11-21 17:40:18 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, expat
|
|
|
|
, libpng
|
|
|
|
, udunits
|
|
|
|
, netcdf
|
|
|
|
, xorg
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ncview";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.1.9";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-10-09 19:29:22 +00:00
|
|
|
url = "https://cirrus.ucsd.edu/~pierce/ncview/ncview-${finalAttrs.version}.tar.gz";
|
|
|
|
hash = "sha256-4jF6wJSvYvCtz2hCHXBlgglDaq40RkCVnsiXWmRYka8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
netcdf
|
|
|
|
];
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
buildInputs = [
|
|
|
|
expat
|
|
|
|
libpng
|
|
|
|
netcdf
|
|
|
|
udunits
|
|
|
|
xorg.libICE
|
|
|
|
xorg.libSM
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXaw
|
|
|
|
xorg.libXt
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Visual browser for netCDF format files";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "http://meteora.ucsd.edu/~pierce/ncview_home_page.html";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
mainProgram = "ncview";
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ jmettes ];
|
2023-10-09 19:29:22 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|