2021-01-29 20:17:13 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cinnamon-desktop
|
2022-07-18 03:05:52 +00:00
|
|
|
, docbook_xsl
|
|
|
|
, exempi
|
2021-01-29 20:17:13 +00:00
|
|
|
, gdk-pixbuf
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
2022-07-18 03:05:52 +00:00
|
|
|
, gtk-doc
|
2021-01-29 20:17:13 +00:00
|
|
|
, itstool
|
|
|
|
, lcms2
|
|
|
|
, libexif
|
|
|
|
, libjpeg
|
|
|
|
, libpeas
|
2022-07-18 03:05:52 +00:00
|
|
|
, librsvg
|
2021-01-29 20:17:13 +00:00
|
|
|
, libxml2
|
2022-07-18 03:05:52 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-29 20:17:13 +00:00
|
|
|
, pkg-config
|
2022-07-18 03:05:52 +00:00
|
|
|
, python3
|
2024-04-26 20:24:03 +00:00
|
|
|
, wrapGAppsHook3
|
2022-07-27 04:05:17 +00:00
|
|
|
, xapp
|
2021-11-29 16:34:50 +00:00
|
|
|
, yelp-tools
|
|
|
|
}:
|
2021-01-29 20:17:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xviewer";
|
2024-01-05 13:12:56 +00:00
|
|
|
version = "3.4.4";
|
2021-01-29 20:17:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-01-05 13:12:56 +00:00
|
|
|
sha256 = "sha256-Kr3GoroQUzOePJiYeJYE9wrqWKcfX7ncu3tZSxOdnvU=";
|
2021-01-29 20:17:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cinnamon-desktop
|
2022-07-18 03:05:52 +00:00
|
|
|
docbook_xsl
|
2021-01-29 20:17:13 +00:00
|
|
|
gdk-pixbuf
|
|
|
|
gobject-introspection
|
|
|
|
gtk-doc
|
|
|
|
itstool
|
2022-07-18 03:05:52 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-29 20:17:13 +00:00
|
|
|
pkg-config
|
2022-07-18 03:05:52 +00:00
|
|
|
python3
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2021-01-29 20:17:13 +00:00
|
|
|
yelp-tools
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-07-18 03:05:52 +00:00
|
|
|
exempi
|
2021-01-29 20:17:13 +00:00
|
|
|
glib
|
|
|
|
gtk3
|
2022-07-18 03:05:52 +00:00
|
|
|
lcms2
|
2021-01-29 20:17:13 +00:00
|
|
|
libexif
|
|
|
|
libjpeg
|
|
|
|
libpeas
|
2022-07-18 03:05:52 +00:00
|
|
|
librsvg
|
2021-01-29 20:17:13 +00:00
|
|
|
libxml2
|
2022-07-27 04:05:17 +00:00
|
|
|
xapp
|
2021-01-29 20:17:13 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Generic image viewer from Linux Mint";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "xviewer";
|
2021-01-29 20:17:13 +00:00
|
|
|
homepage = "https://github.com/linuxmint/xviewer";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
platforms = platforms.linux;
|
2021-11-23 01:22:30 +00:00
|
|
|
maintainers = with maintainers; [ tu-maurice ] ++ teams.cinnamon.members;
|
2021-01-29 20:17:13 +00:00
|
|
|
};
|
|
|
|
}
|