2019-10-16 21:27:43 +01:00
|
|
|
{ stdenv
|
2019-10-16 21:52:33 +01:00
|
|
|
, fetchFromGitLab
|
2019-10-16 21:27:43 +01:00
|
|
|
, pkgconfig
|
|
|
|
, 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
|
|
|
|
, docbook_xsl
|
|
|
|
, 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";
|
2019-10-16 21:24:17 +01:00
|
|
|
version = "3.34.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;
|
|
|
|
sha256 = "0ry06qw068rqn4y42953kwl6fkxpgfya58y87cd3zink6gj7q0fm";
|
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 = [
|
2019-10-16 21:52:33 +01:00
|
|
|
dbus # used for checks and pkgconfig to install dbus service/s
|
2019-10-16 21:27:43 +01:00
|
|
|
docbook_xml_dtd_412
|
|
|
|
docbook_xsl
|
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
gtk-doc
|
|
|
|
libxslt
|
2019-10-16 21:52:33 +01:00
|
|
|
meson
|
|
|
|
ninja
|
2019-10-16 21:27:43 +01:00
|
|
|
pkgconfig
|
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;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.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;
|
2016-09-18 20:35:23 +01:00
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|