summary refs log tree commit diff
path: root/pkgs/applications/graphics/viewnior/default.nix
blob: 478553d2c00ac35398ce1e20aaed7b7c28ef64e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ stdenv, fetchurl, pkgconfig, gtk2, libpng, exiv2, lcms
, intltool, gettext, shared_mime_info, glib, gdk_pixbuf, perl}:

stdenv.mkDerivation rec {
  name = "viewnior-1.4";

  src = fetchurl {
    url = "https://www.dropbox.com/s/zytq0suabesv933/${name}.tar.gz";
    sha256 = "0vv1133phgfzm92md6bbccmcvfiqb4kz28z1572c0qj971yz457a";
  };

  buildInputs =
    [ pkgconfig gtk2 libpng exiv2 lcms intltool gettext
      shared_mime_info glib gdk_pixbuf perl
    ];

  preFixup = ''
    rm $out/share/icons/*/icon-theme.cache
  '';

  meta = {
    description = "Fast and simple image viewer";
    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 = stdenv.lib.licenses.gpl3;

    homepage = http://xsisqox.github.com/Viewnior;

    maintainers = [ stdenv.lib.maintainers.smironov ];

    platforms = stdenv.lib.platforms.gnu;
  };
}