12 , gnome-online-accounts
13 , gsettings-desktop-schemas
39 , gobject-introspection
48 stdenv.mkDerivation rec {
53 url = "mirror://gnome/sources/geary/${lib.versions.major version}/geary-${version}.tar.xz";
54 hash = "sha256-r60VEwKBfd8Ji15BbnrH8tXupWejuAu5C9PGKv0TuaE=";
80 gsettings-desktop-schemas
100 gnutls # for certtool
101 cacert # trust store for glib-networking
103 glibcLocales # required by Geary.ImapDb.DatabaseTest/utf8_case_insensitive_collation
108 "-Dcontractor=enabled" # install the contractor file (Pantheon specific)
111 # NOTE: Remove `build-auxyaml_to_json.py` when no longer needed, see:
112 # https://gitlab.gnome.org/GNOME/geary/commit/f7f72143e0f00ca5e0e6a798691805c53976ae31#0cc1139e3347f573ae1feee5b73dbc8a8a21fcfa
114 chmod +x build-aux/git_version.py
116 patchShebangs build-aux/git_version.py
118 chmod +x desktop/geary-attach
121 # Some tests time out.
128 GIO_EXTRA_MODULES=$GIO_EXTRA_MODULES:${glib-networking}/lib/gio/modules \
130 XDG_DATA_DIRS=$XDG_DATA_DIRS:${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${shared-mime-info}/share:${folks}/share/gsettings-schemas/${folks.name} \
131 xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
132 --config-file=${dbus}/share/dbus-1/session.conf \
133 meson test -v --no-stdsplit
139 # Add geary to path for geary-attach
140 gappsWrapperArgs+=(--prefix PATH : "$out/bin")
144 updateScript = gnome.updateScript {
145 packageName = "geary";
150 homepage = "https://gitlab.gnome.org/GNOME/geary";
151 changelog = "https://gitlab.gnome.org/GNOME/geary/-/blob/${version}/NEWS?ref_type=tags";
152 description = "Mail client for GNOME 3";
153 maintainers = teams.gnome.members;
154 license = licenses.lgpl21Plus;
155 platforms = platforms.linux;