1{ fetchurl, stdenv, pkgconfig, gtk2 }:
2
3stdenv.mkDerivation rec {
4 name = "gtkimageview-1.6.4";
5
6 src = fetchurl {
7 url = "http://trac.bjourne.webfactional.com/chrome/common/releases/${name}.tar.gz";
8 sha256 = "1if3yh5z6nkv5wnkk0qyy9pkk03vn5rqbfk23q87kj39pqscgr37";
9 };
10
11 buildInputs = [ pkgconfig gtk2 ];
12
13 preConfigure = ''
14 sed '/DEPRECATED_FLAGS/d' -i configure
15 sed 's/-Wall -Werror//' -i configure
16 '';
17
18 doCheck = true;
19
20 meta = {
21 homepage = http://trac.bjourne.webfactional.com/;
22
23 description = "Image viewer widget for GTK+";
24
25 longDescription =
26 '' GtkImageView is a simple image viewer widget for GTK+. Similar to
27 the image viewer panes in gThumb or Eye of Gnome. It makes writing
28 image viewing and editing applications easy. Among its features
29 are: mouse and keyboard zooming; scrolling and dragging; adjustable
30 interpolation; GIF animation support.
31 '';
32
33 license = stdenv.lib.licenses.lgpl2Plus;
34
35 maintainers = [ ];
36 platforms = stdenv.lib.platforms.linux;
37 };
38}