nixpkgs/pkgs/tools/X11/ncview/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
840 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, expat
, libpng
, udunits
, netcdf
, xorg
2018-08-09 06:41:12 +00:00
}:
2023-10-04 14:54:20 +00:00
stdenv.mkDerivation (finalAttrs: {
2018-08-09 06:41:12 +00:00
pname = "ncview";
2023-10-04 14:54:44 +00:00
version = "2.1.9";
2018-08-09 06:41:12 +00:00
src = fetchurl {
2023-10-04 14:54:44 +00:00
url = "https://cirrus.ucsd.edu/~pierce/ncview/ncview-${finalAttrs.version}.tar.gz";
hash = "sha256-4jF6wJSvYvCtz2hCHXBlgglDaq40RkCVnsiXWmRYka8=";
2018-08-09 06:41:12 +00:00
};
2023-10-04 14:54:20 +00:00
strictDeps = true;
nativeBuildInputs = [
netcdf
];
buildInputs = [
expat
libpng
netcdf
udunits
xorg.libICE
xorg.libSM
xorg.libX11
xorg.libXaw
xorg.libXt
];
2018-08-09 06:41:12 +00:00
meta = with lib; {
2018-08-09 06:41:12 +00:00
description = "Visual browser for netCDF format files";
2023-10-04 14:54:20 +00:00
homepage = "http://meteora.ucsd.edu/~pierce/ncview_home_page.html";
license = licenses.gpl3Plus;
mainProgram = "ncview";
2018-08-09 06:41:12 +00:00
maintainers = with maintainers; [ jmettes ];
2023-10-04 14:54:20 +00:00
platforms = platforms.all;
2018-08-09 06:41:12 +00:00
};
2023-10-04 14:54:20 +00:00
})