35ccaa2e52
Also add icons to epiphany
31 lines
1.1 KiB
Nix
31 lines
1.1 KiB
Nix
{ fetchurl, stdenv, intltool, pkgconfig, itstool, libxml2, libjpeg, gnome3
|
|
, shared_mime_info, makeWrapper, librsvg, libexif }:
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "eog-3.10.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/eog/3.10/${name}.tar.xz";
|
|
sha256 = "0qs7wmn987vd0cw8w16gmb0bnda3nkcwfg1q343l4rm6kih9ik2w";
|
|
};
|
|
|
|
buildInputs = with gnome3;
|
|
[ intltool pkgconfig itstool libxml2 libjpeg gtk glib libpeas makeWrapper librsvg
|
|
gsettings_desktop_schemas shared_mime_info gnome_icon_theme gnome_desktop libexif ];
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/bin/eog" \
|
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${shared_mime_info}/share:${gnome3.gnome_icon_theme}/share:${gnome3.gtk}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
rm $out/share/icons/hicolor/icon-theme.cache
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/EyeOfGnome;
|
|
platforms = platforms.linux;
|
|
description = "GNOME image viewer";
|
|
};
|
|
}
|