1 { lib, stdenv, fetchurl, pkg-config, gtk2, libpng }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/gqview/gqview-${version}.tar.gz";
9 sha256 = "0ilm5s7ps9kg4f5hzgjhg0xhn6zg0v9i7jnd67zrx9h7wsaa9zhj";
12 nativeBuildInputs = [ pkg-config ];
14 buildInputs = [ gtk2 libpng ];
16 hardeningDisable = [ "format" ];
18 env.NIX_CFLAGS_COMPILE = "-fcommon";
22 description = "A fast image viewer";
23 homepage = "https://gqview.sourceforge.net";
24 license = licenses.gpl2;
25 platforms = platforms.unix;
26 maintainers = with maintainers; [ ];
27 mainProgram = "gqview";