2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, desktop-file-utils, gtk2, libpng, exiv2, lcms
|
2019-05-22 12:03:39 +01:00
|
|
|
, intltool, gettext, shared-mime-info, glib, gdk-pixbuf, perl}:
|
2013-03-12 19:43:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "viewnior";
|
2020-08-25 23:48:20 +01:00
|
|
|
version = "1.7";
|
2015-10-04 09:52:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-25 23:48:20 +01:00
|
|
|
owner = "hellosiyan";
|
2015-10-04 09:52:40 +01:00
|
|
|
repo = "Viewnior";
|
2019-08-15 13:41:18 +01:00
|
|
|
rev = "${pname}-${version}";
|
2020-08-25 23:48:20 +01:00
|
|
|
sha256 = "0y4hk3vq8psba5k615w18qj0kbdfp5w0lm98nv5apy6hmcpwfyig";
|
2013-03-12 19:43:37 +00:00
|
|
|
};
|
|
|
|
|
2020-08-25 23:48:20 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2020-08-25 23:48:20 +01:00
|
|
|
desktop-file-utils
|
|
|
|
intltool
|
|
|
|
gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk2
|
|
|
|
libpng
|
|
|
|
exiv2
|
|
|
|
lcms
|
|
|
|
shared-mime-info
|
|
|
|
glib
|
|
|
|
gdk-pixbuf
|
|
|
|
perl
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Fast and simple image viewer";
|
2013-03-12 19:43:37 +00:00
|
|
|
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).
|
|
|
|
'';
|
2020-08-25 23:48:20 +01:00
|
|
|
license = licenses.gpl3;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://siyanpanayotov.com/project/viewnior/";
|
2020-08-25 23:48:20 +01:00
|
|
|
maintainers = with maintainers; [ smironov artturin ];
|
|
|
|
platforms = platforms.gnu ++ platforms.linux;
|
2013-03-12 19:43:37 +00:00
|
|
|
};
|
|
|
|
}
|