2017-10-04 12:02:58 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, vala, glib, libxslt, gtk, wrapGAppsHook
|
2018-03-15 13:24:33 +01:00
|
|
|
, webkitgtk, json-glib, rest, libsecret, dbus-glib, gtk-doc
|
|
|
|
, telepathy-glib, gettext, dbus_libs, icu, glib-networking
|
|
|
|
, libsoup, docbook_xsl, docbook_xsl_ns, gnome3, gcr, kerberos
|
2016-09-18 21:35:23 +02:00
|
|
|
}:
|
|
|
|
|
2018-03-15 13:24:33 +01:00
|
|
|
let
|
|
|
|
pname = "gnome-online-accounts";
|
2018-03-13 02:03:18 +01:00
|
|
|
version = "3.28.0";
|
2018-03-15 13:24:33 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-15 13:24:33 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-13 02:03:18 +01:00
|
|
|
sha256 = "035lmm21imr7ddpzffqabv53g3ggjscmqvlzy3j1qkv00zrlxg47";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2017-12-05 22:25:09 +01:00
|
|
|
outputs = [ "out" "man" "dev" "devdoc" ];
|
|
|
|
|
|
|
|
configureFlags = [
|
2017-12-05 22:34:15 +01:00
|
|
|
"--enable-media-server"
|
|
|
|
"--enable-kerberos"
|
|
|
|
"--enable-lastfm"
|
|
|
|
"--enable-todoist"
|
2017-12-05 22:25:09 +01:00
|
|
|
"--enable-gtk-doc"
|
|
|
|
];
|
2017-12-05 22:11:15 +01:00
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-12-05 22:11:15 +01:00
|
|
|
nativeBuildInputs = [
|
2018-03-15 13:24:33 +01:00
|
|
|
pkgconfig vala gettext wrapGAppsHook
|
|
|
|
libxslt docbook_xsl docbook_xsl_ns gtk-doc
|
2017-12-05 22:11:15 +01:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2018-02-25 03:23:58 +01:00
|
|
|
glib gtk webkitgtk json-glib rest libsecret dbus-glib telepathy-glib glib-networking icu libsoup
|
2017-12-05 22:34:15 +01:00
|
|
|
gcr kerberos
|
2017-12-05 22:11:15 +01:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-15 13:24:33 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|