Merge pull request #96319 from Artturin/update-viewnior

viewnior: 1.6 -> 1.7 & change upstream
This commit is contained in:
Daniël de Kok 2020-08-27 16:17:45 +02:00 committed by GitHub
commit ab247348cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,24 +1,38 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk2, libpng, exiv2, lcms { stdenv, fetchFromGitHub, meson, ninja, pkgconfig, desktop-file-utils, gtk2, libpng, exiv2, lcms
, intltool, gettext, shared-mime-info, glib, gdk-pixbuf, perl}: , intltool, gettext, shared-mime-info, glib, gdk-pixbuf, perl}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "viewnior"; pname = "viewnior";
version = "1.6"; version = "1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xsisqox"; owner = "hellosiyan";
repo = "Viewnior"; repo = "Viewnior";
rev = "${pname}-${version}"; rev = "${pname}-${version}";
sha256 = "06ppv3r85l3id4ij6h4y5fgm3nib2587fdrdv9fccyi75zk7fs0p"; sha256 = "0y4hk3vq8psba5k615w18qj0kbdfp5w0lm98nv5apy6hmcpwfyig";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [
buildInputs = meson
[ pkgconfig gtk2 libpng exiv2 lcms intltool gettext ninja
shared-mime-info glib gdk-pixbuf perl pkgconfig
]; desktop-file-utils
intltool
gettext
];
meta = { buildInputs = [
gtk2
libpng
exiv2
lcms
shared-mime-info
glib
gdk-pixbuf
perl
];
meta = with stdenv.lib; {
description = "Fast and simple image viewer"; description = "Fast and simple image viewer";
longDescription = longDescription =
'' Viewnior is insipred by big projects like Eye of Gnome, because of it's '' Viewnior is insipred by big projects like Eye of Gnome, because of it's
@ -27,13 +41,9 @@ stdenv.mkDerivation rec {
with the quality of it's functions. The program is made with better integration with the quality of it's functions. The program is made with better integration
in mind (follows Gnome HIG2). in mind (follows Gnome HIG2).
''; '';
license = licenses.gpl3;
license = stdenv.lib.licenses.gpl3;
homepage = "http://siyanpanayotov.com/project/viewnior/"; homepage = "http://siyanpanayotov.com/project/viewnior/";
maintainers = with maintainers; [ smironov artturin ];
maintainers = [ stdenv.lib.maintainers.smironov ]; platforms = platforms.gnu ++ platforms.linux;
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
}; };
} }