2019-02-13 22:47:50 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, vala, glib, libxslt, gtk3, wrapGAppsHook
|
|
|
|
, webkitgtk, json-glib, librest, libsecret, gtk-doc, gobject-introspection
|
2019-03-24 15:10:10 +01:00
|
|
|
, gettext, icu, glib-networking, hicolor-icon-theme
|
2018-09-05 02:47:14 +02:00
|
|
|
, libsoup, docbook_xsl, docbook_xml_dtd_412, gnome3, gcr, kerberos
|
2016-09-18 21:35:23 +02:00
|
|
|
}:
|
|
|
|
|
2018-03-15 13:24:33 +01:00
|
|
|
let
|
|
|
|
pname = "gnome-online-accounts";
|
2019-03-03 19:25:30 +01:00
|
|
|
version = "3.32.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-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-03-03 19:25:30 +01:00
|
|
|
sha256 = "1anlx0rb2hafg9929pgfms25mdz23sd0vdva06h6zlf8f5byc68w";
|
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"
|
2018-09-05 02:47:14 +02:00
|
|
|
"--enable-documentation"
|
2017-12-05 22:25:09 +01:00
|
|
|
];
|
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-12-02 12:41:15 +01:00
|
|
|
pkgconfig gobject-introspection vala gettext wrapGAppsHook
|
2018-09-05 02:47:14 +02:00
|
|
|
libxslt docbook_xsl docbook_xml_dtd_412 gtk-doc
|
2019-03-24 15:10:10 +01:00
|
|
|
hicolor-icon-theme # for setup-hook
|
2017-12-05 22:11:15 +01:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2019-02-13 22:47:50 +01:00
|
|
|
glib gtk3 webkitgtk json-glib librest libsecret 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;
|
|
|
|
};
|
|
|
|
}
|