summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/apps/evolution/default.nix
blob: ebbaccf9606a37ce55df4875abbcc8a4f512325f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ stdenv, cmake, intltool, fetchurl, libxml2, webkitgtk, highlight
, pkgconfig, gtk3, glib, libnotify, gtkspell3
, wrapGAppsHook, itstool, shared-mime-info, libical, db, gcr, sqlite
, gnome3, librsvg, gdk_pixbuf, libsecret, nss, nspr, icu
, libcanberra-gtk3, bogofilter, gst_all_1, procps, p11-kit, openldap }:

let
  majVer = gnome3.version;
in stdenv.mkDerivation rec {
  inherit (import ./src.nix fetchurl) name src;

  doCheck = true;

  propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard
                            gnome3.evolution-data-server ];

  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
                  gnome3.libgnome-keyring gnome3.glib-networking openldap
                ];

  nativeBuildInputs = [ cmake intltool itstool libxml2 pkgconfig wrapGAppsHook ];


  configureFlags = [ "--disable-pst-import" "--disable-autoar"
                     "--disable-libcryptui" "--with-openldap"];

  cmakeFlags = [ "-DENABLE_AUTOAR=OFF" "-DENABLE_LIBCRYPTUI=OFF"
                 "-DENABLE_YTNEF=OFF" "-DENABLE_PST_IMPORT=OFF"
               ];

  NIX_CFLAGS_COMPILE = "-I${nss.dev}/include/nss -I${glib.dev}/include/gio-unix-2.0";

  enableParallelBuilding = true;

  requiredSystemFeatures = [ "big-parallel" ];

  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;
  };
}