aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/graphics/viewnior/default.nix
blob: 41463a7627ae778ff18f58c94938fa9ada42323b (plain)
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, fetchFromGitHub, autoreconfHook, pkgconfig, gtk2, libpng, exiv2, lcms
, intltool, gettext, shared-mime-info, glib, gdk-pixbuf, perl}:

stdenv.mkDerivation rec {
  pname = "viewnior";
  version = "1.6";

  src = fetchFromGitHub {
    owner = "xsisqox";
    repo = "Viewnior";
    rev = "${pname}-${version}";
    sha256 = "06ppv3r85l3id4ij6h4y5fgm3nib2587fdrdv9fccyi75zk7fs0p";
  };

  nativeBuildInputs = [ autoreconfHook ];
  buildInputs =
    [ pkgconfig gtk2 libpng exiv2 lcms intltool gettext
      shared-mime-info glib gdk-pixbuf perl
    ];

  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://siyanpanayotov.com/project/viewnior/";

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

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