2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cinnamon-desktop
|
2022-08-12 12:06:08 +00:00
|
|
|
, docbook_xsl
|
|
|
|
, exempi
|
2021-02-05 17:12:51 +00:00
|
|
|
, gdk-pixbuf
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
2022-08-12 12:06:08 +00:00
|
|
|
, gtk-doc
|
2021-02-05 17:12:51 +00:00
|
|
|
, itstool
|
|
|
|
, lcms2
|
|
|
|
, libexif
|
|
|
|
, libjpeg
|
|
|
|
, libpeas
|
2022-08-12 12:06:08 +00:00
|
|
|
, librsvg
|
2021-02-05 17:12:51 +00:00
|
|
|
, libxml2
|
2022-08-12 12:06:08 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2022-08-12 12:06:08 +00:00
|
|
|
, python3
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3
|
2022-08-12 12:06:08 +00:00
|
|
|
, xapp
|
2021-12-06 16:07:01 +00:00
|
|
|
, yelp-tools
|
|
|
|
}:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xviewer";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "3.4.5";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-06-20 14:57:18 +00:00
|
|
|
sha256 = "sha256-J6KDkGPbcRBofsJVmd+1IEapSfSd3ftjz0AggvBI8ck=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cinnamon-desktop
|
2022-08-12 12:06:08 +00:00
|
|
|
docbook_xsl
|
2021-02-05 17:12:51 +00:00
|
|
|
gdk-pixbuf
|
|
|
|
gobject-introspection
|
|
|
|
gtk-doc
|
|
|
|
itstool
|
2022-08-12 12:06:08 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2022-08-12 12:06:08 +00:00
|
|
|
python3
|
2024-05-15 15:35:15 +00:00
|
|
|
wrapGAppsHook3
|
2021-02-05 17:12:51 +00:00
|
|
|
yelp-tools
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-08-12 12:06:08 +00:00
|
|
|
exempi
|
2021-02-05 17:12:51 +00:00
|
|
|
glib
|
|
|
|
gtk3
|
2022-08-12 12:06:08 +00:00
|
|
|
lcms2
|
2021-02-05 17:12:51 +00:00
|
|
|
libexif
|
|
|
|
libjpeg
|
|
|
|
libpeas
|
2022-08-12 12:06:08 +00:00
|
|
|
librsvg
|
2021-02-05 17:12:51 +00:00
|
|
|
libxml2
|
2022-08-12 12:06:08 +00:00
|
|
|
xapp
|
2021-02-05 17:12:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Generic image viewer from Linux Mint";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "xviewer";
|
2021-02-05 17:12:51 +00:00
|
|
|
homepage = "https://github.com/linuxmint/xviewer";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
platforms = platforms.linux;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ tu-maurice ] ++ teams.cinnamon.members;
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|