ncview: use xorg.* packages directly instead of xlibsWrapper indirection

Validated as no change in `out` output with `diffoscope`.
This commit is contained in:
Sergei Trofimovich 2022-11-14 19:21:12 +00:00
parent a82e6b5dae
commit 791a23a00a

View file

@ -1,5 +1,11 @@
{ lib, stdenv, fetchurl
, netcdf, xlibsWrapper, xorg, udunits, expat
{ lib
, stdenv
, fetchurl
, expat
, libpng
, udunits
, netcdf
, xorg
}:
let
@ -14,7 +20,17 @@ in stdenv.mkDerivation {
sha256 = "1gliziyxil2fcz85hj6z0jq33avrxdcjs74d500lhxwvgd8drfp8";
};
buildInputs = [ netcdf xlibsWrapper xorg.libXaw udunits expat ];
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";