2018-03-05 02:50:23 +01:00
|
|
|
{ stdenv, cmake, ninja, intltool, fetchurl, libxml2, webkitgtk, highlight
|
2016-09-18 21:35:23 +02:00
|
|
|
, pkgconfig, gtk3, glib, libnotify, gtkspell3
|
2018-02-25 03:23:58 +01:00
|
|
|
, wrapGAppsHook, itstool, shared-mime-info, libical, db, gcr, sqlite
|
2017-10-04 23:50:14 +02:00
|
|
|
, gnome3, librsvg, gdk_pixbuf, libsecret, nss, nspr, icu
|
2018-02-25 03:23:58 +01:00
|
|
|
, libcanberra-gtk3, bogofilter, gst_all_1, procps, p11-kit, openldap }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
let
|
2018-12-11 22:01:10 +01:00
|
|
|
version = "3.30.3";
|
2016-09-18 21:35:23 +02:00
|
|
|
in stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "evolution-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/evolution/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-12-11 22:01:10 +01:00
|
|
|
sha256 = "1v0bqqwv34j8qamby7dwgnha50fpjs8mhlq0h6c35jxsqb2f3k66";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2018-03-05 02:50:23 +01:00
|
|
|
propagatedUserEnvPkgs = [ gnome3.evolution-data-server ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-05 02:50:23 +01:00
|
|
|
buildInputs = [
|
|
|
|
gtk3 glib gdk_pixbuf gnome3.defaultIconTheme librsvg db icu
|
|
|
|
gnome3.evolution-data-server libsecret libical gcr
|
|
|
|
webkitgtk shared-mime-info gnome3.gnome-desktop gtkspell3
|
|
|
|
libcanberra-gtk3 bogofilter gnome3.libgdata sqlite
|
|
|
|
gst_all_1.gstreamer gst_all_1.gst-plugins-base p11-kit
|
|
|
|
nss nspr libnotify procps highlight gnome3.libgweather
|
|
|
|
gnome3.gsettings-desktop-schemas
|
2018-03-20 20:39:20 +01:00
|
|
|
gnome3.glib-networking openldap
|
2018-03-05 02:50:23 +01:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-05 02:50:23 +01:00
|
|
|
nativeBuildInputs = [ cmake ninja intltool itstool libxml2 pkgconfig wrapGAppsHook ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-05 02:50:23 +01:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DENABLE_AUTOAR=OFF"
|
|
|
|
"-DENABLE_LIBCRYPTUI=OFF"
|
|
|
|
"-DENABLE_YTNEF=OFF"
|
|
|
|
"-DENABLE_PST_IMPORT=OFF"
|
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-05 02:50:23 +01:00
|
|
|
doCheck = true;
|
2017-03-16 23:05:04 +01:00
|
|
|
|
2018-03-05 02:50:23 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "evolution";
|
|
|
|
attrPath = "gnome3.evolution";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-09-05 02:43:33 +02:00
|
|
|
PKG_CONFIG_LIBEDATASERVERUI_1_2_UIMODULEDIR = "${placeholder "out"}/lib/evolution-data-server/ui-modules";
|
|
|
|
|
2017-01-03 13:54:07 +01:00
|
|
|
requiredSystemFeatures = [ "big-parallel" ];
|
|
|
|
|
2016-09-18 21:35:23 +02: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 = gnome3.maintainers;
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|