nixpkgs/pkgs/desktops/gnome-3/apps/evolution/default.nix
2019-07-25 09:23:21 +00:00

130 lines
2.2 KiB
Nix

{ stdenv
, cmake
, ninja
, intltool
, fetchurl
, libxml2
, webkitgtk
, highlight
, pkgconfig
, gtk3
, glib
, libnotify
, gtkspell3
, 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
, gdk-pixbuf
, libsecret
, nss
, nspr
, icu
, libcanberra-gtk3
, bogofilter
, gst_all_1
, procps
, p11-kit
, openldap
}:
stdenv.mkDerivation rec {
pname = "evolution";
version = "3.32.4";
src = fetchurl {
url = "mirror://gnome/sources/evolution/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh";
};
nativeBuildInputs = [
cmake
intltool
itstool
libxml2
ninja
pkgconfig
wrapGAppsHook
];
buildInputs = [
adwaita-icon-theme
bogofilter
db
evolution-data-server
gcr
gdk-pixbuf
glib
glib-networking
gnome-desktop
gsettings-desktop-schemas
gst_all_1.gst-plugins-base
gst_all_1.gstreamer
gtk3
gtkspell3
highlight
icu
libcanberra-gtk3
libgdata
libgweather
libical
libnotify
librsvg
libsecret
nspr
nss
openldap
p11-kit
procps
shared-mime-info
sqlite
webkitgtk
];
propagatedUserEnvPkgs = [
evolution-data-server
];
cmakeFlags = [
"-DENABLE_AUTOAR=OFF"
"-DENABLE_LIBCRYPTUI=OFF"
"-DENABLE_PST_IMPORT=OFF"
"-DENABLE_YTNEF=OFF"
];
requiredSystemFeatures = [
"big-parallel"
];
doCheck = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = "evolution";
attrPath = "gnome3.evolution";
};
};
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;
};
}