From 8ca944821175d7d0c22cd22fb2b889a9ed582195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 19 Oct 2009 12:50:41 +0000 Subject: [PATCH] Add GtkImageView. svn path=/nixpkgs/trunk/; revision=17880 --- .../libraries/gtkimageview/default.nix | 32 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/libraries/gtkimageview/default.nix diff --git a/pkgs/development/libraries/gtkimageview/default.nix b/pkgs/development/libraries/gtkimageview/default.nix new file mode 100644 index 000000000000..eb2335dac43b --- /dev/null +++ b/pkgs/development/libraries/gtkimageview/default.nix @@ -0,0 +1,32 @@ +{ fetchurl, stdenv, pkgconfig, gtk }: + +stdenv.mkDerivation rec { + name = "gtkimageview-1.6.4"; + + src = fetchurl { + url = "http://trac.bjourne.webfactional.com/chrome/common/releases/${name}.tar.gz"; + sha256 = "1if3yh5z6nkv5wnkk0qyy9pkk03vn5rqbfk23q87kj39pqscgr37"; + }; + + buildInputs = [ pkgconfig gtk ]; + + doCheck = true; + + meta = { + homepage = http://trac.bjourne.webfactional.com/; + + description = "The GtkImageView image viewer widget for GTK+"; + + longDescription = + '' GtkImageView is a simple image viewer widget for GTK+. Similar to + the image viewer panes in gThumb or Eye of Gnome. It makes writing + image viewing and editing applications easy. Among its features + are: mouse and keyboard zooming; scrolling and dragging; adjustable + interpolation; GIF animation support. + ''; + + license = "LGPLv2+"; + + maintainers = [ stdenv.lib.maintainers.ludo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a1351efa043b..247aa4638a05 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3506,6 +3506,11 @@ let inherit fetchurl stdenv; }; + gtkimageview = import ../development/libraries/gtkimageview { + inherit fetchurl stdenv pkgconfig; + inherit (gnome) gtk; + }; + gtkLibs = recurseIntoAttrs gtkLibs216; gtkLibs1x = import ../development/libraries/gtk-libs/1.x {