11 , enableBackend ? stdenv.isLinux
18 , gobject-introspection
33 stdenv.mkDerivation rec {
34 pname = "gnome-online-accounts";
37 outputs = [ "out" "dev" ] ++ lib.optionals enableBackend [ "man" "devdoc" ];
39 src = fetchFromGitLab {
40 domain = "gitlab.gnome.org";
42 repo = "gnome-online-accounts";
44 sha256 = "sha256-USl0Qay9pSgbbp3n/L8eBaRQwaBYledht5j+afmo++o=";
48 "-Dfedora=false" # not useful in NixOS or for NixOS users.
49 "-Dgoabackend=${lib.boolToString enableBackend}"
50 "-Dgtk_doc=${lib.boolToString enableBackend}"
51 "-Dman=${lib.boolToString enableBackend}"
56 dbus # used for checks and pkg-config to install dbus service/s
75 gvfs # OwnCloud, Google Drive
83 ] ++ lib.optionals enableBackend [
87 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
89 separateDebugInfo = true;
92 updateScript = gnome.updateScript {
93 versionPolicy = "odd-unstable";
99 homepage = "https://wiki.gnome.org/Projects/GnomeOnlineAccounts";
100 description = "Single sign-on framework for GNOME";
101 platforms = platforms.unix;
102 license = licenses.lgpl2Plus;
103 maintainers = teams.gnome.members;