2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
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
|
2024-07-27 06:49:29 +00:00
|
|
|
, cinnamon-desktop
|
2021-12-06 16:07:01 +00:00
|
|
|
, yelp-tools
|
2024-07-27 06:49:29 +00:00
|
|
|
, xapp
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xviewer";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "3.4.6";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-J1IlgHKyNGJTn1sIU3q02eTgWqyeRm2leFIhtKPIdhg=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2022-08-12 12:06:08 +00:00
|
|
|
docbook_xsl
|
2021-02-05 17:12:51 +00:00
|
|
|
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 = [
|
2024-07-27 06:49:29 +00:00
|
|
|
cinnamon-desktop
|
2022-08-12 12:06:08 +00:00
|
|
|
exempi
|
2024-07-27 06:49:29 +00:00
|
|
|
gdk-pixbuf
|
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
|
|
|
};
|
|
|
|
}
|