2021-11-07 20:29:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gtk2, libpng }:
|
2003-11-11 16:13:13 +00:00
|
|
|
|
2021-11-07 20:29:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gqview";
|
|
|
|
version = "2.1.5";
|
2003-11-11 16:13:13 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-07 20:29:51 +00:00
|
|
|
url = "mirror://sourceforge/gqview/gqview-${version}.tar.gz";
|
2016-09-06 01:14:47 +01:00
|
|
|
sha256 = "0ilm5s7ps9kg4f5hzgjhg0xhn6zg0v9i7jnd67zrx9h7wsaa9zhj";
|
2003-11-11 16:13:13 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-11-09 09:20:11 +00:00
|
|
|
|
2021-11-07 20:29:51 +00:00
|
|
|
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
|
|
|
|
2023-02-19 19:23:32 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-fcommon";
|
2019-10-30 02:23:29 +00:00
|
|
|
NIX_LDFLAGS = "-lm";
|
2019-01-04 19:33:50 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2006-10-11 17:45:55 +01:00
|
|
|
description = "A fast image viewer";
|
2023-02-19 20:43:38 +00:00
|
|
|
homepage = "https://gqview.sourceforge.net";
|
2018-08-22 22:47:20 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
2021-11-09 09:20:11 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2006-10-11 17:45:55 +01:00
|
|
|
};
|
2003-11-11 16:13:13 +00:00
|
|
|
}
|