Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
850 B
Nix
48 lines
850 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;
|
|
};
|
|
})
|