2017-10-04 11:02:58 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, vala, glib, libxslt, gtk, wrapGAppsHook
|
2018-12-02 11:41:15 +00:00
|
|
|
, webkitgtk, json-glib, rest, libsecret, gtk-doc, gobject-introspection
|
2018-09-05 01:47:14 +01:00
|
|
|
, gettext, icu, glib-networking
|
|
|
|
, libsoup, docbook_xsl, docbook_xml_dtd_412, gnome3, gcr, kerberos
|
2016-09-18 20:35:23 +01:00
|
|
|
}:
|
|
|
|
|
2018-03-15 12:24:33 +00:00
|
|
|
let
|
|
|
|
pname = "gnome-online-accounts";
|
2019-01-28 15:57:08 +00:00
|
|
|
version = "3.30.1";
|
2018-03-15 12:24:33 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-01-28 15:57:08 +00:00
|
|
|
sha256 = "0havx26cfy0ln17jzmzbrrx35afknv2s9mdy34j0p7wmbqr8m5ky";
|
2018-02-25 20:07:20 +00: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"
|
2018-09-05 01:47:14 +01:00
|
|
|
"--enable-documentation"
|
2017-12-05 21:25:09 +00:00
|
|
|
];
|
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-12-02 11:41:15 +00:00
|
|
|
pkgconfig gobject-introspection vala gettext wrapGAppsHook
|
2018-09-05 01:47:14 +01:00
|
|
|
libxslt docbook_xsl docbook_xml_dtd_412 gtk-doc
|
2017-12-05 21:11:15 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2018-09-05 01:47:14 +01:00
|
|
|
glib gtk webkitgtk json-glib rest libsecret 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
|
|
|
|
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; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|