Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

viewnior: 1.6 -> 1.7 & change upstream #96319

Merged
merged 1 commit into from
Aug 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
46 changes: 28 additions & 18 deletions pkgs/applications/graphics/viewnior/default.nix
Original file line number Diff line number Diff line change
@@ -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}:

stdenv.mkDerivation rec {
pname = "viewnior";
version = "1.6";
version = "1.7";

src = fetchFromGitHub {
owner = "xsisqox";
owner = "hellosiyan";
repo = "Viewnior";
rev = "${pname}-${version}";
sha256 = "06ppv3r85l3id4ij6h4y5fgm3nib2587fdrdv9fccyi75zk7fs0p";
sha256 = "0y4hk3vq8psba5k615w18qj0kbdfp5w0lm98nv5apy6hmcpwfyig";
};

nativeBuildInputs = [ autoreconfHook ];
buildInputs =
[ pkgconfig gtk2 libpng exiv2 lcms intltool gettext
shared-mime-info glib gdk-pixbuf perl
];

meta = {
nativeBuildInputs = [
meson
ninja
pkgconfig
desktop-file-utils
intltool
gettext
];

buildInputs = [
gtk2
libpng
exiv2
lcms
shared-mime-info
glib
gdk-pixbuf
perl
];

meta = with stdenv.lib; {
description = "Fast and simple image viewer";
longDescription =
'' Viewnior is insipred by big projects like Eye of Gnome, because of it's
Expand All @@ -27,13 +41,9 @@ stdenv.mkDerivation rec {
with the quality of it's functions. The program is made with better integration
in mind (follows Gnome HIG2).
'';

license = stdenv.lib.licenses.gpl3;

license = licenses.gpl3;
homepage = "http://siyanpanayotov.com/project/viewnior/";

maintainers = [ stdenv.lib.maintainers.smironov ];

platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
maintainers = with maintainers; [ smironov artturin ];
platforms = platforms.gnu ++ platforms.linux;
};
}