nixpkgs/pkgs/development/libraries/gnome-online-accounts/default.nix

53 lines
1.4 KiB
Nix
Raw Normal View History

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
, gettext, icu, glib-networking, hicolor-icon-theme
, libsoup, docbook_xsl, docbook_xml_dtd_412, gnome3, gcr, kerberos
}:
let
pname = "gnome-online-accounts";
version = "3.32.0";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1anlx0rb2hafg9929pgfms25mdz23sd0vdva06h6zlf8f5byc68w";
};
outputs = [ "out" "man" "dev" "devdoc" ];
configureFlags = [
"--enable-media-server"
"--enable-kerberos"
"--enable-lastfm"
"--enable-todoist"
"--enable-gtk-doc"
"--enable-documentation"
];
2017-12-05 22:11:15 +01:00
enableParallelBuilding = true;
2017-12-05 22:11:15 +01:00
nativeBuildInputs = [
pkgconfig gobject-introspection vala gettext wrapGAppsHook
libxslt docbook_xsl docbook_xml_dtd_412 gtk-doc
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
gcr kerberos
2017-12-05 22:11:15 +01:00
];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}