nixpkgs/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix

134 lines
2.3 KiB
Nix
Raw Normal View History

{ lib, stdenv
2019-06-25 17:50:11 +00:00
, cmake
, ninja
, intltool
, fetchurl
, libxml2
, webkitgtk
, highlight
2021-01-17 02:21:50 +00:00
, pkg-config
2019-06-25 17:50:11 +00:00
, gtk3
, glib
, libnotify
, libpst
2019-09-02 16:44:28 +00:00
, gspell
2019-06-25 17:50:11 +00:00
, evolution-data-server
, libgdata
, libgweather
, glib-networking
, gsettings-desktop-schemas
, wrapGAppsHook
, itstool
, shared-mime-info
, libical
, db
, gcr
, sqlite
, gnome3
, librsvg
2019-05-22 11:03:39 +00:00
, gdk-pixbuf
2019-06-25 17:50:11 +00:00
, libsecret
, nss
, nspr
, icu
, libcanberra-gtk3
, bogofilter
, gst_all_1
, procps
, p11-kit
, openldap
, spamassassin
2019-06-25 17:50:11 +00:00
}:
stdenv.mkDerivation rec {
pname = "evolution";
version = "3.40.1";
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "07n4sbgsh0y9hrn52ymvy45ah65ll55gglgvqqi3h9nhkyy64y9g";
};
2019-06-25 17:50:11 +00:00
nativeBuildInputs = [
cmake
intltool
itstool
libxml2
ninja
2021-01-17 02:21:50 +00:00
pkg-config
2019-06-25 17:50:11 +00:00
wrapGAppsHook
];
2018-03-05 01:50:23 +00:00
buildInputs = [
gnome3.adwaita-icon-theme
2019-06-25 17:50:11 +00:00
bogofilter
db
evolution-data-server
gcr
2019-05-22 11:03:39 +00:00
gdk-pixbuf
2019-06-25 17:50:11 +00:00
glib
glib-networking
gnome3.gnome-desktop
2019-02-13 21:47:50 +00:00
gsettings-desktop-schemas
2019-06-25 17:50:11 +00:00
gst_all_1.gst-plugins-base
gst_all_1.gstreamer
gtk3
2019-09-02 16:44:28 +00:00
gspell
2019-06-25 17:50:11 +00:00
highlight
icu
libcanberra-gtk3
libgdata
libgweather
libical
libnotify
libpst
2019-06-25 17:50:11 +00:00
librsvg
libsecret
nspr
nss
openldap
p11-kit
procps
shared-mime-info
sqlite
webkitgtk
2018-03-05 01:50:23 +00:00
];
2019-06-25 17:50:11 +00:00
propagatedUserEnvPkgs = [
evolution-data-server
];
2018-03-05 01:50:23 +00:00
cmakeFlags = [
"-DENABLE_AUTOAR=OFF"
"-DENABLE_LIBCRYPTUI=OFF"
2019-06-25 17:50:11 +00: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 17:50:11 +00:00
];
requiredSystemFeatures = [
"big-parallel"
2018-03-05 01:50:23 +00:00
];
2018-03-05 01:50:23 +00:00
doCheck = true;
2017-03-16 22:05:04 +00:00
2018-03-05 01:50:23 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = "evolution";
versionPolicy = "odd-unstable";
2018-03-05 01:50:23 +00:00
};
};
2018-09-05 00:43:33 +00:00
PKG_CONFIG_LIBEDATASERVERUI_1_2_UIMODULEDIR = "${placeholder "out"}/lib/evolution-data-server/ui-modules";
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Evolution";
description = "Personal information management application that provides integrated mail, calendaring and address book functionality";
maintainers = teams.gnome.members;
license = licenses.lgpl2Plus;
platforms = platforms.linux;
};
}