2021-01-29 21:17:13 +01:00
|
|
|
{ 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
|
2021-11-29 17:34:50 +01:00
|
|
|
, yelp-tools
|
|
|
|
}:
|
2021-01-29 21:17:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xviewer";
|
2022-02-19 23:31:23 +01:00
|
|
|
version = "3.2.4";
|
2021-01-29 21:17:13 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-02-19 23:31:23 +01:00
|
|
|
sha256 = "sha256-OyHSBXtJ/TExl06NLUAaIZq4u0+fI3YGQ37HRZeNP+0=";
|
2021-01-29 21:17:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2021-11-23 02:22:30 +01:00
|
|
|
maintainers = with maintainers; [ tu-maurice ] ++ teams.cinnamon.members;
|
2021-01-29 21:17:13 +01:00
|
|
|
};
|
|
|
|
}
|