From c52bd0c8d8ae3676d2803f695e73668dffbfcd63 Mon Sep 17 00:00:00 2001 From: Sergey Mironov Date: Tue, 12 Mar 2013 23:43:37 +0400 Subject: [PATCH] viewnior: Add viewnior, GTK image viewer program --- .../graphics/viewnior/default.nix | 35 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/applications/graphics/viewnior/default.nix diff --git a/pkgs/applications/graphics/viewnior/default.nix b/pkgs/applications/graphics/viewnior/default.nix new file mode 100644 index 000000000000..99e1ec1c169b --- /dev/null +++ b/pkgs/applications/graphics/viewnior/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl, pkgconfig, gtk2, libpng, exiv2, lcms +, intltool, gettext, shared_mime_info, glib, gdk_pixbuf, perl}: + +stdenv.mkDerivation rec { + name = "viewnior-1.3"; + + src = fetchurl { + url = "http://cloud.github.com/downloads/xsisqox/Viewnior/${name}.tar.gz"; + sha256 = "46c97c1a85361519b42fe008cfb8911e66f709f3a3a988c11047ab3726889f10"; + }; + + buildInputs = + [ pkgconfig gtk2 libpng exiv2 lcms intltool gettext + shared_mime_info glib gdk_pixbuf perl + ]; + + meta = { + description = "Viewnior is a fast and simple image viewer for GNU/Linux"; + longDescription = + '' Viewnior is insipred by big projects like Eye of Gnome, because of it's + usability and richness,and by GPicView, because of it's lightweight design and + minimal interface. So here comes Viewnior - small and light, with no compromise + with the quality of it's functions. The program is made with better integration + in mind (follows Gnome HIG2). + ''; + + license = "GPLv3"; + + homepage = http://xsisqox.github.com/Viewnior; + + maintainers = [ stdenv.lib.maintainers.smironov ]; + + platforms = stdenv.lib.platforms.gnu; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e574aed4f1de..8ec20e317b77 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9047,6 +9047,8 @@ let vice = callPackage ../misc/emulators/vice { }; + viewnior = callPackage ../applications/graphics/viewnior { }; + vimprobable2 = callPackage ../applications/networking/browsers/vimprobable2 { inherit (gnome) libsoup; webkit = webkit_gtk2;