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