nixpkgs-suyu/pkgs/desktops/gnome-3/apps/evolution/default.nix

135 lines
2.4 KiB
Nix
Raw Normal View History

2019-06-25 19:50:11 +02:00
{ stdenv
, cmake
, ninja
, intltool
, fetchurl
, libxml2
, webkitgtk
, highlight
, pkgconfig
, gtk3
, glib
, libnotify
2019-09-02 18:44:28 +02:00
, gspell
2019-06-25 19:50:11 +02:00
, evolution-data-server
, adwaita-icon-theme
, gnome-desktop
, libgdata
, libgweather
, glib-networking
, gsettings-desktop-schemas
, wrapGAppsHook
, itstool
, shared-mime-info
, libical
, db
, gcr
, sqlite
, gnome3
, librsvg
2019-05-22 13:03:39 +02:00
, gdk-pixbuf
2019-06-25 19:50:11 +02:00
, libsecret
, nss
, nspr
, icu
, libcanberra-gtk3
, bogofilter
, gst_all_1
, procps
, p11-kit
, openldap
, spamassassin
2019-06-25 19:50:11 +02:00
}:
stdenv.mkDerivation rec {
pname = "evolution";
2020-02-09 01:29:20 +01:00
version = "3.36.0";
src = fetchurl {
2019-06-25 19:50:11 +02:00
url = "mirror://gnome/sources/evolution/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-02-09 01:29:20 +01:00
sha256 = "0ylqvg52s6vc9xmyizcv3im66ra8xixzrfgn7hsmp12fg47na5vj";
};
2019-06-25 19:50:11 +02:00
nativeBuildInputs = [
cmake
intltool
itstool
libxml2
ninja
pkgconfig
wrapGAppsHook
];
2018-03-05 02:50:23 +01:00
buildInputs = [
2019-06-25 19:50:11 +02:00
adwaita-icon-theme
bogofilter
db
evolution-data-server
gcr
2019-05-22 13:03:39 +02:00
gdk-pixbuf
2019-06-25 19:50:11 +02:00
glib
glib-networking
gnome-desktop
2019-02-13 22:47:50 +01:00
gsettings-desktop-schemas
2019-06-25 19:50:11 +02:00
gst_all_1.gst-plugins-base
gst_all_1.gstreamer
gtk3
2019-09-02 18:44:28 +02:00
gspell
2019-06-25 19:50:11 +02:00
highlight
icu
libcanberra-gtk3
libgdata
libgweather
libical
libnotify
librsvg
libsecret
nspr
nss
openldap
p11-kit
procps
shared-mime-info
sqlite
webkitgtk
2018-03-05 02:50:23 +01:00
];
2019-06-25 19:50:11 +02:00
propagatedUserEnvPkgs = [
evolution-data-server
];
2018-03-05 02:50:23 +01:00
cmakeFlags = [
"-DENABLE_AUTOAR=OFF"
"-DENABLE_LIBCRYPTUI=OFF"
"-DENABLE_PST_IMPORT=OFF"
2019-06-25 19:50:11 +02:00
"-DENABLE_YTNEF=OFF"
"-DWITH_SPAMASSASSIN=${spamassassin}/bin/spamassassin"
"-DWITH_SA_LEARN=${spamassassin}/bin/sa-learn"
"-DWITH_BOGOFILTER=${bogofilter}/bin/bogofilter"
"-DWITH_OPENLDAP=${openldap}"
2019-06-25 19:50:11 +02:00
];
requiredSystemFeatures = [
"big-parallel"
2018-03-05 02:50:23 +01: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";
};
};
2018-09-05 02:43:33 +02:00
PKG_CONFIG_LIBEDATASERVERUI_1_2_UIMODULEDIR = "${placeholder "out"}/lib/evolution-data-server/ui-modules";
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;
};
}