Merge pull request #111292 from tu-maurice/unstable/xviewer-2.8.3

cinnamon.xviewer: init at 2.8.3
This commit is contained in:
Sandro 2021-02-02 19:54:29 +01:00 committed by GitHub
commit e9d257c066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 71 additions and 0 deletions

View File

@ -31,4 +31,5 @@ lib.makeScope pkgs.newScope (self: with self; {
muffin = callPackage ./muffin { }; muffin = callPackage ./muffin { };
xapps = callPackage ./xapps { }; xapps = callPackage ./xapps { };
warpinator = callPackage ./warpinator { }; warpinator = callPackage ./warpinator { };
xviewer = callPackage ./xviewer { };
}) })

View File

@ -0,0 +1,70 @@
{ stdenv
, lib
, fetchFromGitHub
, autoreconfHook
, cinnamon-desktop
, file
, gdk-pixbuf
, glib
, gobject-introspection
, gtk-doc
, gtk3
, intltool
, itstool
, lcms2
, libexif
, libjpeg
, libpeas
, libtool
, libxml2
, pkg-config
, shared-mime-info
, wrapGAppsHook
, xapps
, yelp-tools }:
stdenv.mkDerivation rec {
pname = "xviewer";
version = "2.8.3";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
sha256 = "0h3qgqaiz5swy09fr6z3ag2952hgzsk5d2fpwmwb78yjrzrhnzpy";
};
nativeBuildInputs = [
wrapGAppsHook
autoreconfHook
cinnamon-desktop
gdk-pixbuf
gobject-introspection
gtk-doc
intltool
itstool
libtool
pkg-config
yelp-tools
];
buildInputs = [
glib
gtk3
libexif
libjpeg
libpeas
libxml2
shared-mime-info
xapps
lcms2
];
meta = with lib; {
description = "A generic image viewer from Linux Mint";
homepage = "https://github.com/linuxmint/xviewer";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ tu-maurice ];
};
}