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