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
|
2021-02-05 17:12:51 +00:00
|
|
|
, wrapGAppsHook
|
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";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "3.2.10";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxmint";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-c3K9yjeaAlyXqgxzHgnLXgqwaB5Fdw+mS9jricy8QA8=";
|
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
|
|
|
|
wrapGAppsHook
|
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; {
|
|
|
|
description = "A generic image viewer from Linux Mint";
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|