17 , gsettings-desktop-schemas
29 , gobject-introspection
33 stdenv.mkDerivation rec {
37 outputs = [ "out" "dev" "devdoc" ];
40 url = "mirror://gnome/sources/eog/${lib.versions.major version}/eog-${version}.tar.xz";
41 hash = "sha256-217b9SJNdRJqe32O5OknKi8wqVMzHVuvbT88DODL3mY=";
45 # Fix path to libeog.so in the gir file.
46 # We patch gobject-introspection to hardcode absolute paths but
47 # our Meson patch will only pass the info when install_dir is absolute as well.
48 ./fix-gir-lib-path.patch
58 libxml2 # for xmllint for xml-stripblanks
76 gsettings-desktop-schemas
85 # Pull in WebP and JXL support for gnome-backgrounds.
86 # In postInstall to run before gappsWrapperArgsHook.
87 export GDK_PIXBUF_MODULE_FILE="${gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
100 --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
101 --prefix XDG_DATA_DIRS : "${libjxl}/share"
102 --prefix XDG_DATA_DIRS : "${librsvg}/share"
103 --prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
108 # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
109 moveToOutput "share/doc" "$devdoc"
113 updateScript = gnome.updateScript {
119 description = "GNOME image viewer";
120 homepage = "https://gitlab.gnome.org/GNOME/eog";
121 changelog = "https://gitlab.gnome.org/GNOME/eog/-/blob/${version}/NEWS?ref_type=tags";
122 license = licenses.gpl2Plus;
123 maintainers = teams.gnome.members;
124 platforms = platforms.unix;