29dd3accf5
In #26879, GNOME Online Accounts support was removed resulting in repeated authentication prompts for users relying on services like Google Calendar. This commit removes the build flag that disabled the support.
40 lines
1.4 KiB
Nix
40 lines
1.4 KiB
Nix
{ fetchurl, stdenv, pkgconfig, gnome3, python, dconf
|
|
, intltool, libsoup, libxml2, libsecret, icu, sqlite
|
|
, p11_kit, db, nspr, nss, libical, gperf, makeWrapper, valaSupport ? true,
|
|
vala_0_32, cmake, kerberos, openldap, webkitgtk, libaccounts-glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
buildInputs = with gnome3;
|
|
[ pkgconfig glib python intltool libsoup libxml2 gtk gnome_online_accounts
|
|
(stdenv.lib.getLib dconf) gcr p11_kit libgweather libgdata gperf makeWrapper
|
|
icu sqlite gsettings_desktop_schemas cmake kerberos openldap webkitgtk
|
|
libaccounts-glib ]
|
|
++ stdenv.lib.optional valaSupport vala_0_32;
|
|
|
|
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" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
preFixup = ''
|
|
for f in $(find $out/libexec/ -type f -executable); do
|
|
wrapProgram "$f" \
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
|
|
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules"
|
|
done
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
platforms = platforms.linux;
|
|
maintainers = gnome3.maintainers;
|
|
};
|
|
|
|
}
|