2015-10-04 11:52:40 +03:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk2, libpng, exiv2, lcms
|
2013-03-12 23:43:37 +04:00
|
|
|
, intltool, gettext, shared_mime_info, glib, gdk_pixbuf, perl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-10-04 11:52:40 +03:00
|
|
|
name = "viewnior-${version}";
|
|
|
|
version = "1.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xsisqox";
|
|
|
|
repo = "Viewnior";
|
|
|
|
rev = name;
|
|
|
|
sha256 = "0y352hkkwmzb13a87vqgj1dpdn81qk94acby1a93xkqr1qs626lw";
|
2013-03-12 23:43:37 +04:00
|
|
|
};
|
|
|
|
|
2015-10-04 11:52:40 +03:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2013-03-12 23:43:37 +04:00
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig gtk2 libpng exiv2 lcms intltool gettext
|
|
|
|
shared_mime_info glib gdk_pixbuf perl
|
|
|
|
];
|
|
|
|
|
2014-02-19 11:16:03 +04:00
|
|
|
preFixup = ''
|
|
|
|
rm $out/share/icons/*/icon-theme.cache
|
|
|
|
'';
|
|
|
|
|
2013-03-12 23:43:37 +04:00
|
|
|
meta = {
|
2014-08-24 18:21:08 +04:00
|
|
|
description = "Fast and simple image viewer";
|
2013-03-12 23:43:37 +04: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 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2013-03-12 23:43:37 +04:00
|
|
|
|
2015-10-04 11:52:40 +03:00
|
|
|
homepage = http://siyanpanayotov.com/project/viewnior/;
|
2013-03-12 23:43:37 +04:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.smironov ];
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
|
|
};
|
|
|
|
}
|