lol
1{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, desktop-file-utils, gtk2, libpng, exiv2, lcms
2, intltool, gettext, shared-mime-info, glib, gdk-pixbuf, perl}:
3
4stdenv.mkDerivation rec {
5 pname = "viewnior";
6 version = "1.7";
7
8 src = fetchFromGitHub {
9 owner = "hellosiyan";
10 repo = "Viewnior";
11 rev = "${pname}-${version}";
12 sha256 = "0y4hk3vq8psba5k615w18qj0kbdfp5w0lm98nv5apy6hmcpwfyig";
13 };
14
15 nativeBuildInputs = [
16 meson
17 ninja
18 pkg-config
19 desktop-file-utils
20 intltool
21 gettext
22 ];
23
24 buildInputs = [
25 gtk2
26 libpng
27 exiv2
28 lcms
29 shared-mime-info
30 glib
31 gdk-pixbuf
32 perl
33 ];
34
35 meta = with lib; {
36 description = "Fast and simple image viewer";
37 longDescription =
38 '' Viewnior is insipred by big projects like Eye of Gnome, because of it's
39 usability and richness,and by GPicView, because of it's lightweight design and
40 minimal interface. So here comes Viewnior - small and light, with no compromise
41 with the quality of it's functions. The program is made with better integration
42 in mind (follows Gnome HIG2).
43 '';
44 license = licenses.gpl3;
45 homepage = "http://siyanpanayotov.com/project/viewnior/";
46 maintainers = with maintainers; [ smironov artturin ];
47 platforms = platforms.gnu ++ platforms.linux;
48 };
49}