gnome3.evolution_data_server: clean up

This commit is contained in:
Jan Tojnar 2017-12-19 00:00:04 +01:00
parent f5d7b05f1e
commit 6002d1785d
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, pkgconfig, gnome3, python, dconf
{ fetchurl, stdenv, pkgconfig, gnome3, python3, dconf
, intltool, libsoup, libxml2, libsecret, icu, sqlite
, p11_kit, db, nspr, nss, libical, gperf, makeWrapper, valaSupport ? true
, vala, cmake, kerberos, openldap, webkitgtk, libaccounts-glib, json_glib }:
@ -6,21 +6,25 @@
stdenv.mkDerivation rec {
inherit (import ./src.nix fetchurl) name src;
nativeBuildInputs = [ cmake pkgconfig intltool python gperf makeWrapper ];
buildInputs = with gnome3;
[ glib libsoup libxml2 gtk gnome_online_accounts
(stdenv.lib.getLib dconf) gcr p11_kit libgweather libgdata
icu sqlite gsettings_desktop_schemas kerberos openldap webkitgtk
libaccounts-glib json_glib ]
++ stdenv.lib.optional valaSupport vala;
nativeBuildInputs = [
cmake pkgconfig intltool python3 gperf makeWrapper
] ++ stdenv.lib.optional valaSupport vala;
buildInputs = with gnome3; [
glib libsoup libxml2 gtk gnome_online_accounts
gcr p11_kit libgweather libgdata libaccounts-glib json_glib
icu sqlite kerberos openldap webkitgtk
];
propagatedBuildInputs = [ libsecret nss nspr libical db ];
# uoa irrelevant for now
cmakeFlags = [ "-DENABLE_UOA=OFF" ]
++ stdenv.lib.optionals valaSupport [
"-DENABLE_VALA_BINDINGS=ON" "-DENABLE_INTROSPECTION=ON"
"-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
cmakeFlags = [
"-DENABLE_UOA=OFF"
] ++ stdenv.lib.optionals valaSupport [
"-DENABLE_VALA_BINDINGS=ON"
"-DENABLE_INTROSPECTION=ON"
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
];
enableParallelBuilding = true;
@ -33,8 +37,8 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
platforms = platforms.linux;
license = licenses.lgpl2;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}