Change:
Geary and are . I suppose updating might remove its dependency on the insecure . (I think i remember having seen somewhere in an issue tracker that this dependency was removed in Geary source code, but i cannot find now where i saw it.)
By the way, I do not really understand these GTK and WebKitGTK issues and versions, but, just for reference, there is an open issue about previous versions of Geary using GTK2 instead of GTK3: .
In Geary 0.12 there are some fresh bugs (for example, ). It looks like version 0.12.1 is in the beginning of November.
Running shows gtk2 as a transitive dependency from webkitgtk (which depends on both GTK 2 and GTK 3) and gnome-themes-standard. I do not think the latter is necessary for GTK 3 applications since Adwaita is built into GTK 3.

Discussion:
<del> { stdenv, fetchurl, autoconf, vala_0_32, pkgconfig, glib, gobjectIntrospection, gnome3 }: </del> <ins> { stdenv, fetchurl, autoconf, vala, pkgconfig, glib, gobjectIntrospection, gnome3 }: </ins> let <del> ver_maj = "0.18"; </del> <ins> ver_maj = "0.20"; </ins> ver_min = "0"; in stdenv.mkDerivation rec {

src = fetchurl { url = "mirror://gnome/sources/libgee/${ver_maj}/${name}.tar.xz"; <del> sha256 = "16a34js81w9m2bw4qd8csm4pcgr3zq5z87867j4b8wfh6zwrxnaa"; </del> <ins> sha256 = "1fy24dr8imrjlmsqj1syn0gi139gba6hwk3j5vd6sr3pxniqnc11"; </ins> }; doCheck = true; patches = [ ./fix_introspection_paths.patch ]; <del> nativeBuildInputs = [ pkgconfig ]; buildInputs = [ autoconf vala_0_32 glib gobjectIntrospection ]; </del> <ins> nativeBuildInputs = [ pkgconfig autoconf vala pkgconfig gobjectIntrospection ]; buildInputs = [ glib ]; </ins> meta = with stdenv.lib; { description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";

california = callPackage ./misc/california { }; <del> geary = callPackage ./misc/geary { # https://bugzilla.gnome.org/show_bug.cgi?id=728002 webkitgtk = pkgs.webkitgtk24x-gtk3; }; </del> <ins> geary = callPackage ./misc/geary { }; </ins> gfbgraph = callPackage ./misc/gfbgraph { };

<del> { stdenv, fetchurl, intltool, pkgconfig, gtk3, vala_0_32 , makeWrapper, gdk_pixbuf, cmake, desktop_file_utils </del> <ins> { stdenv, fetchurl, intltool, pkgconfig, gtk3, vala_0_38, enchant , wrapGAppsHook, gdk_pixbuf, cmake, desktop_file_utils </ins> , libnotify, libcanberra_gtk3, libsecret, gmime , libpthreadstubs, sqlite , gnome3, librsvg, gnome_doc_utils, webkitgtk }: let <del> majorVersion = "0.11"; </del> <ins> majorVersion = "0.12"; </ins> in stdenv.mkDerivation rec { <del> name = "geary-${majorVersion}.3"; </del> <ins> name = "geary-${majorVersion}.0"; </ins> src = fetchurl { url = "mirror://gnome/sources/geary/${majorVersion}/${name}.tar.xz"; <del> sha256 = "1r42ijxafach5lv8ibs6y0l5k4nacjg427dnma8fj00xr1sri7j1"; </del> <ins> sha256 = "0ii4qaqfqx90kvqwg0g9jahygkir4mb03ja55fa55yyx6cq0kwff"; </ins> }; propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ]; <del> nativeBuildInputs = [ pkgconfig ]; buildInputs = [ intltool gtk3 makeWrapper cmake desktop_file_utils gnome_doc_utils vala_0_32 webkitgtk libnotify libcanberra_gtk3 gnome3.libgee libsecret gmime sqlite </del> <ins> nativeBuildInputs = [ vala_0_38 intltool pkgconfig wrapGAppsHook cmake desktop_file_utils gnome_doc_utils ]; buildInputs = [ gtk3 enchant webkitgtk libnotify libcanberra_gtk3 gnome3.libgee libsecret gmime sqlite </ins> libpthreadstubs gnome3.gsettings_desktop_schemas gnome3.gcr gdk_pixbuf librsvg gnome3.defaultIconTheme ]; preConfigure = '' <del> substituteInPlace src/CMakeLists.txt --replace '`pkg-config --variable=girdir gobject-introspection-1.0`' '${webkitgtk}/share/gir-1.0' ''; postInstall = '' mkdir -p $out/share/gsettings-schemas/${name}/ mv $out/share/glib-2.0 $out/share/gsettings-schemas/${name} </del> <ins> substituteInPlace src/CMakeLists.txt --replace '`''${PKG_CONFIG_EXECUTABLE} --variable=girdir gobject-introspection-1.0`' '${webkitgtk.dev}/share/gir-1.0' </ins> ''; preFixup = '' <del> wrapProgram "$out/bin/geary"  --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"  --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.gnome_themes_standard}/share:$out/share:$GSETTINGS_SCHEMAS_PATH" </del> <ins> # Add geary to path for geary-attach gappsWrapperArgs+=(--prefix PATH : "$out/bin") </ins> ''; enableParallelBuilding = true;