2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-10-16 21:52:33 +01:00
|
|
|
, fetchFromGitLab
|
2020-11-17 15:34:10 +00:00
|
|
|
, pkg-config
|
2019-10-16 21:27:43 +01:00
|
|
|
, vala
|
|
|
|
, glib
|
2019-10-16 21:52:33 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, python3
|
2019-10-16 21:27:43 +01:00
|
|
|
, libxslt
|
|
|
|
, gtk3
|
|
|
|
, webkitgtk
|
|
|
|
, json-glib
|
|
|
|
, librest
|
|
|
|
, libsecret
|
|
|
|
, gtk-doc
|
|
|
|
, gobject-introspection
|
|
|
|
, gettext
|
|
|
|
, icu
|
|
|
|
, glib-networking
|
|
|
|
, libsoup
|
2020-11-17 15:34:10 +00:00
|
|
|
, docbook-xsl-nons
|
2019-10-16 21:27:43 +01:00
|
|
|
, docbook_xml_dtd_412
|
|
|
|
, gnome3
|
|
|
|
, gcr
|
|
|
|
, kerberos
|
2019-10-16 21:52:33 +01:00
|
|
|
, gvfs
|
|
|
|
, dbus
|
|
|
|
, wrapGAppsHook
|
2016-09-18 20:35:23 +01:00
|
|
|
}:
|
|
|
|
|
2019-10-16 21:27:43 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-15 12:24:33 +00:00
|
|
|
pname = "gnome-online-accounts";
|
2021-03-18 06:26:09 +00:00
|
|
|
version = "3.38.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
2019-10-16 21:52:33 +01:00
|
|
|
# https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues/87
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = "gnome-online-accounts";
|
|
|
|
rev = version;
|
2021-03-18 06:26:09 +00:00
|
|
|
sha256 = "sha256-th7P++MC3GXX+349PJFEwHGGeMhxsGgoEDGnSYpY7E4=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2017-12-05 21:25:09 +00:00
|
|
|
outputs = [ "out" "man" "dev" "devdoc" ];
|
|
|
|
|
2019-10-16 21:52:33 +01:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dfedora=false" # not useful in NixOS or for NixOS users.
|
|
|
|
"-Dgtk_doc=true"
|
|
|
|
"-Dlastfm=true"
|
|
|
|
"-Dman=true"
|
|
|
|
"-Dmedia_server=true"
|
2017-12-05 21:25:09 +00:00
|
|
|
];
|
2017-12-05 21:11:15 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-11-17 15:34:10 +00:00
|
|
|
dbus # used for checks and pkg-config to install dbus service/s
|
2019-10-16 21:27:43 +01:00
|
|
|
docbook_xml_dtd_412
|
2020-11-17 15:34:10 +00:00
|
|
|
docbook-xsl-nons
|
2019-10-16 21:27:43 +01:00
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
gtk-doc
|
|
|
|
libxslt
|
2019-10-16 21:52:33 +01:00
|
|
|
meson
|
|
|
|
ninja
|
2020-11-17 15:34:10 +00:00
|
|
|
pkg-config
|
2019-10-16 21:52:33 +01:00
|
|
|
python3
|
2019-10-16 21:27:43 +01:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
2017-12-05 21:11:15 +00:00
|
|
|
];
|
2019-10-16 21:27:43 +01:00
|
|
|
|
2017-12-05 21:11:15 +00:00
|
|
|
buildInputs = [
|
2019-10-16 21:27:43 +01:00
|
|
|
gcr
|
|
|
|
glib
|
|
|
|
glib-networking
|
|
|
|
gtk3
|
2019-10-16 21:52:33 +01:00
|
|
|
gvfs # OwnCloud, Google Drive
|
2019-10-16 21:27:43 +01:00
|
|
|
icu
|
|
|
|
json-glib
|
|
|
|
kerberos
|
|
|
|
librest
|
|
|
|
libsecret
|
|
|
|
libsoup
|
|
|
|
webkitgtk
|
2017-12-05 21:11:15 +00:00
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2019-10-16 21:52:33 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2018-03-15 12:24:33 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-10-16 21:27:43 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GnomeOnlineAccounts";
|
|
|
|
description = "Single sign-on framework for GNOME";
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.linux;
|
2019-10-16 21:27:43 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
}
|