2018-12-02 12:41:15 +01:00
|
|
|
{ fetchurl, stdenv, substituteAll, pkgconfig, gnome3, python3, gobject-introspection
|
2018-12-25 23:41:02 +01:00
|
|
|
, intltool, libsoup, libxml2, libsecret, icu, sqlite, tzdata, libcanberra-gtk3, gcr
|
2018-09-05 02:43:41 +02:00
|
|
|
, p11-kit, db, nspr, nss, libical, gperf, wrapGAppsHook, glib-networking, pcre
|
2019-02-13 22:47:50 +01:00
|
|
|
, vala, cmake, ninja, kerberos, openldap, webkitgtk, libaccounts-glib, json-glib
|
|
|
|
, glib, gtk3, gnome-online-accounts, libgweather, libgdata }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "evolution-data-server-${version}";
|
2019-07-19 04:52:49 +02:00
|
|
|
version = "3.32.4";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
2018-03-15 13:23:37 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2018-02-25 21:07:20 +01:00
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/evolution-data-server/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-07-19 04:52:49 +02:00
|
|
|
sha256 = "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2018-06-19 20:45:33 +02:00
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths.patch;
|
|
|
|
inherit tzdata;
|
|
|
|
})
|
2019-01-20 07:55:31 +01:00
|
|
|
./hardcode-gsettings.patch
|
2018-06-19 20:45:33 +02:00
|
|
|
];
|
|
|
|
|
2017-12-19 00:00:04 +01:00
|
|
|
nativeBuildInputs = [
|
2018-12-02 12:41:15 +01:00
|
|
|
cmake ninja pkgconfig intltool python3 gperf wrapGAppsHook gobject-introspection vala
|
2018-03-15 13:23:37 +01:00
|
|
|
];
|
2019-02-13 22:47:50 +01:00
|
|
|
buildInputs = [
|
|
|
|
glib libsoup libxml2 gtk3 gnome-online-accounts
|
2018-02-25 03:23:58 +01:00
|
|
|
gcr p11-kit libgweather libgdata libaccounts-glib json-glib
|
2018-05-03 13:56:23 +02:00
|
|
|
icu sqlite kerberos openldap webkitgtk glib-networking
|
2018-09-05 02:43:41 +02:00
|
|
|
libcanberra-gtk3 pcre
|
2017-12-19 00:00:04 +01:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2019-03-05 21:41:07 +01:00
|
|
|
propagatedBuildInputs = [ libsecret nss nspr libical db libsoup ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2017-12-19 00:00:04 +01:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DENABLE_UOA=OFF"
|
|
|
|
"-DENABLE_VALA_BINDINGS=ON"
|
|
|
|
"-DENABLE_INTROSPECTION=ON"
|
|
|
|
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
|
2018-04-26 22:59:34 +02:00
|
|
|
"-DINCLUDE_INSTALL_DIR=${placeholder "dev"}/include"
|
2017-12-19 00:00:04 +01:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2019-01-20 07:55:31 +01:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/libedataserver/e-source-registry.c --subst-var-by ESD_GSETTINGS_PATH $out/share/gsettings-schemas/${name}/glib-2.0/schemas
|
|
|
|
'';
|
|
|
|
|
2016-10-03 22:04:02 +02:00
|
|
|
|
2018-03-15 13:23:37 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "evolution-data-server";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
meta = with stdenv.lib; {
|
2018-03-15 13:23:37 +01:00
|
|
|
description = "Unified backend for programs that work with contacts, tasks, and calendar information";
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Evolution;
|
2017-12-19 00:00:04 +01:00
|
|
|
license = licenses.lgpl2;
|
2016-09-18 21:35:23 +02:00
|
|
|
maintainers = gnome3.maintainers;
|
2017-12-19 00:00:04 +01:00
|
|
|
platforms = platforms.linux;
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
}
|