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