2014-04-24 15:42:11 +00:00
|
|
|
{ stdenv, intltool, fetchurl, libxml2, webkitgtk, highlight
|
2014-05-19 16:06:55 +00:00
|
|
|
, pkgconfig, gtk3, glib, hicolor_icon_theme, libnotify, gtkspell3
|
|
|
|
, makeWrapper, itstool, shared_mime_info, libical, db, gcr
|
2014-04-24 15:42:11 +00:00
|
|
|
, gnome3, librsvg, gdk_pixbuf, libsecret, nss, nspr, icu
|
2014-05-19 16:06:55 +00:00
|
|
|
, libcanberra_gtk3, bogofilter, gst_all_1, procps, p11_kit }:
|
2014-04-24 15:42:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-02 10:53:49 +00:00
|
|
|
name = "evolution-3.12.5";
|
2014-04-24 15:42:11 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-19 16:06:55 +00:00
|
|
|
url = "mirror://gnome/sources/evolution/3.12/${name}.tar.xz";
|
2014-09-02 10:53:49 +00:00
|
|
|
sha256 = "08y1qiydbbk4fq8rrql9sgbwsny8bwz6f7m5kbbj5zjqvf1baksj";
|
2014-04-24 15:42:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxml2
|
|
|
|
gdk_pixbuf gnome3.gnome_icon_theme librsvg db icu
|
2014-05-19 16:06:55 +00:00
|
|
|
gnome3.evolution_data_server libsecret libical gcr
|
|
|
|
webkitgtk shared_mime_info gnome3.gnome_desktop gtkspell3
|
2014-04-24 15:42:11 +00:00
|
|
|
libcanberra_gtk3 gnome3.gtkhtml bogofilter gnome3.libgdata
|
2014-05-19 16:06:55 +00:00
|
|
|
gst_all_1.gstreamer gst_all_1.gst-plugins-base p11_kit
|
2014-04-24 15:42:11 +00:00
|
|
|
hicolor_icon_theme gnome3.gnome_icon_theme_symbolic
|
|
|
|
nss nspr libnotify procps highlight gnome3.libgweather
|
|
|
|
gnome3.gsettings_desktop_schemas makeWrapper ];
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-spamassassin" "--disable-pst-import" ];
|
|
|
|
|
2014-05-19 16:06:55 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${nspr}/include/nspr -I${nss}/include/nss -I${glib}/include/gio-unix-2.0";
|
2014-04-24 15:42:11 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
preFixup = ''
|
2014-05-21 11:39:55 +00:00
|
|
|
for f in $out/bin/* $out/libexec/*; do
|
|
|
|
wrapProgram "$f" \
|
|
|
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
|
|
|
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
done
|
2014-04-24 15:42:11 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Evolution;
|
|
|
|
description = "Personal information management application that provides integrated mail, calendaring and address book functionality";
|
|
|
|
maintainers = with maintainers; [ lethalman ];
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|