2021-01-29 20:17:13 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
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
|
2024-07-22 14:54:38 +00:00
|
|
|
, cinnamon-desktop
|
2021-11-29 16:34:50 +00:00
|
|
|
, yelp-tools
|
2024-07-21 13:34:06 +00:00
|
|
|
, xapp
|
2021-11-29 16:34:50 +00:00
|
|
|
}:
|
2021-01-29 20:17:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xviewer";
|
2024-07-22 12:50:01 +00:00
|
|
|
version = "3.4.6";
|
2021-01-29 20:17:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-09-14 21:47:11 +00:00
|
|
|
hash = "sha256-J1IlgHKyNGJTn1sIU3q02eTgWqyeRm2leFIhtKPIdhg=";
|
2021-01-29 20:17:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2022-07-18 03:05:52 +00:00
|
|
|
docbook_xsl
|
2021-01-29 20:17:13 +00:00
|
|
|
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 = [
|
2024-07-22 14:54:38 +00:00
|
|
|
cinnamon-desktop
|
2022-07-18 03:05:52 +00:00
|
|
|
exempi
|
2024-07-14 15:24:16 +00:00
|
|
|
gdk-pixbuf
|
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
|
2024-07-21 13:34:06 +00:00
|
|
|
xapp
|
2021-01-29 20:17:13 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|