2016-09-11 22:24:51 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, gtk2, libpng}:
|
2003-11-11 16:13:13 +00:00
|
|
|
|
2016-09-11 22:24:51 +01:00
|
|
|
assert pkgconfig != null && gtk2 != null && libpng != null;
|
2003-11-11 16:13:13 +00:00
|
|
|
# Note that we cannot just copy gtk's png attribute, since gtk might
|
|
|
|
# not be linked against png.
|
2016-09-11 22:24:51 +01:00
|
|
|
# !!! assert libpng == gtk2.libpng;
|
2003-11-11 16:13:13 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2007-01-01 19:15:51 +00:00
|
|
|
name = "gqview-2.1.5";
|
2003-11-11 16:13:13 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2007-08-27 14:01:33 +01:00
|
|
|
url = mirror://sourceforge/gqview/gqview-2.1.5.tar.gz;
|
2016-09-06 01:14:47 +01:00
|
|
|
sha256 = "0ilm5s7ps9kg4f5hzgjhg0xhn6zg0v9i7jnd67zrx9h7wsaa9zhj";
|
2003-11-11 16:13:13 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 libpng];
|
2006-10-11 17:45:55 +01:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-11 00:43:52 +00:00
|
|
|
|
2006-10-11 17:45:55 +01:00
|
|
|
meta = {
|
|
|
|
description = "A fast image viewer";
|
2008-01-30 19:49:42 +00:00
|
|
|
homepage = http://gqview.sourceforge.net;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2006-10-11 17:45:55 +01:00
|
|
|
};
|
2003-11-11 16:13:13 +00:00
|
|
|
}
|