1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/graphics/viewnior/default.nix

44 lines
1.3 KiB
Nix
Raw Normal View History

2015-10-04 09:52:40 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk2, libpng, exiv2, lcms
, intltool, gettext, shared-mime-info, glib, gdk_pixbuf, perl}:
stdenv.mkDerivation rec {
2015-10-04 09:52:40 +01:00
name = "viewnior-${version}";
2016-06-19 17:47:14 +01:00
version = "1.6";
2015-10-04 09:52:40 +01:00
src = fetchFromGitHub {
owner = "xsisqox";
repo = "Viewnior";
rev = name;
2016-06-19 17:47:14 +01:00
sha256 = "06ppv3r85l3id4ij6h4y5fgm3nib2587fdrdv9fccyi75zk7fs0p";
};
2015-10-04 09:52:40 +01:00
nativeBuildInputs = [ autoreconfHook ];
buildInputs =
[ pkgconfig gtk2 libpng exiv2 lcms intltool gettext
shared-mime-info glib gdk_pixbuf perl
];
preFixup = ''
rm $out/share/icons/*/icon-theme.cache
'';
meta = {
description = "Fast and simple image viewer";
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).
'';
license = stdenv.lib.licenses.gpl3;
2015-10-04 09:52:40 +01:00
homepage = http://siyanpanayotov.com/project/viewnior/;
maintainers = [ stdenv.lib.maintainers.smironov ];
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
};
}