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 # https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues/87
40 src = fetchFromGitLab {
41 domain = "gitlab.gnome.org";
43 repo = "gnome-online-accounts";
45 sha256 = "sha256-qVd55fmhY05zJ871OWc3hd1eWjYbYJuxlE/T2i3VCUA=";
49 "-Dfedora=false" # not useful in NixOS or for NixOS users.
50 "-Dgoabackend=${lib.boolToString enableBackend}"
51 "-Dgtk_doc=${lib.boolToString enableBackend}"
52 "-Dman=${lib.boolToString enableBackend}"
57 dbus # used for checks and pkg-config to install dbus service/s
76 gvfs # OwnCloud, Google Drive
84 ] ++ lib.optionals enableBackend [
88 NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
91 updateScript = gnome.updateScript {
92 versionPolicy = "odd-unstable";
98 homepage = "https://wiki.gnome.org/Projects/GnomeOnlineAccounts";
99 description = "Single sign-on framework for GNOME";
100 platforms = platforms.unix;
101 license = licenses.lgpl2Plus;
102 maintainers = teams.gnome.members;