2015-10-04 08:52:40 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk2, libpng, exiv2, lcms
|
2018-02-25 02:23:58 +00:00
|
|
|
, intltool, gettext, shared-mime-info, glib, gdk_pixbuf, perl}:
|
2013-03-12 19:43:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-10-04 08:52:40 +00:00
|
|
|
name = "viewnior-${version}";
|
2016-06-19 16:47:14 +00:00
|
|
|
version = "1.6";
|
2015-10-04 08:52:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xsisqox";
|
|
|
|
repo = "Viewnior";
|
|
|
|
rev = name;
|
2016-06-19 16:47:14 +00:00
|
|
|
sha256 = "06ppv3r85l3id4ij6h4y5fgm3nib2587fdrdv9fccyi75zk7fs0p";
|
2013-03-12 19:43:37 +00:00
|
|
|
};
|
|
|
|
|
2015-10-04 08:52:40 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2013-03-12 19:43:37 +00:00
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig gtk2 libpng exiv2 lcms intltool gettext
|
2018-02-25 02:23:58 +00:00
|
|
|
shared-mime-info glib gdk_pixbuf perl
|
2013-03-12 19:43:37 +00:00
|
|
|
];
|
|
|
|
|
2014-02-19 07:16:03 +00:00
|
|
|
preFixup = ''
|
|
|
|
rm $out/share/icons/*/icon-theme.cache
|
|
|
|
'';
|
|
|
|
|
2013-03-12 19:43:37 +00:00
|
|
|
meta = {
|
2014-08-24 14:21:08 +00: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).
|
|
|
|
'';
|
|
|
|
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2013-03-12 19:43:37 +00:00
|
|
|
|
2015-10-04 08:52:40 +00:00
|
|
|
homepage = http://siyanpanayotov.com/project/viewnior/;
|
2013-03-12 19:43:37 +00:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.smironov ];
|
|
|
|
|
2018-04-30 22:47:47 +00:00
|
|
|
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
|
2013-03-12 19:43:37 +00:00
|
|
|
};
|
|
|
|
}
|