1 { fetchurl, lib, stdenv, pkg-config, gtk2 }:
3 stdenv.mkDerivation rec {
4 pname = "gtkimageview";
8 url = "https://sources.archlinux.org/other/packages/${pname}/${pname}-${version}.tar.gz";
9 sha256 = "1wj63af9j9p5i067lpwi9lxvwalamakrmklvl983kvi7s4w1ss2c";
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ gtk2 ];
16 sed '/DEPRECATED_FLAGS/d' -i configure
17 sed 's/-Wall -Werror//' -i configure
23 homepage = "https://wiki.gnome.org/Projects/GTK/GtkImageView";
25 description = "Image viewer widget for GTK";
28 '' GtkImageView is a simple image viewer widget for GTK. Similar to
29 the image viewer panes in gThumb or Eye of Gnome. It makes writing
30 image viewing and editing applications easy. Among its features
31 are: mouse and keyboard zooming; scrolling and dragging; adjustable
32 interpolation; GIF animation support.
35 license = lib.licenses.lgpl2Plus;
38 platforms = lib.platforms.linux;