1 { lib, stdenv, fetchurl, fetchpatch, pkg-config, SDL, SDL_image, libjpeg, libpng, libtiff }:
3 stdenv.mkDerivation rec {
7 url = "https://www.svgalib.org/rus/zgv/${pname}-${version}.tar.gz";
8 sha256 = "1fk4i9x0cpnpn3llam0zy2pkmhlr2hy3iaxhxg07v9sizd4dircj";
11 nativeBuildInputs = [ pkg-config ];
12 buildInputs = [ SDL SDL_image libjpeg libpng libtiff ];
14 hardeningDisable = [ "format" ];
22 url = "https://foss.aueb.gr/mirrors/linux/gentoo/media-gfx/zgv/files/zgv-5.9-libpng15.patch";
23 sha256 = "1blw9n04c28bnwcmcn64si4f5zpg42s8yn345js88fyzi9zm19xw";
28 patchFlags = [ "-p0" ];
36 homepage = "http://www.svgalib.org/rus/zgv/";
37 description = "Picture viewer with a thumbnail-based selector";
38 license = licenses.gpl2;
39 maintainers = [ maintainers.vrthra ];
40 platforms = platforms.linux;