nixpkgs/pkgs/desktops/gnome-3/core/gnome-online-accounts/default.nix

52 lines
1.3 KiB
Nix

{ stdenv, fetchurl, pkgconfig, vala, glib, libxslt, gtk, wrapGAppsHook
, webkitgtk, json-glib, rest, libsecret, gtk-doc, gobjectIntrospection
, gettext, icu, glib-networking
, libsoup, docbook_xsl, docbook_xml_dtd_412, gnome3, gcr, kerberos
}:
let
pname = "gnome-online-accounts";
version = "3.30.0";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1hyg9g7l4ypnirx2j7ms2vr8711x90aybpq3s3wa20ma8a4xin97";
};
outputs = [ "out" "man" "dev" "devdoc" ];
configureFlags = [
"--enable-media-server"
"--enable-kerberos"
"--enable-lastfm"
"--enable-todoist"
"--enable-gtk-doc"
"--enable-documentation"
];
enableParallelBuilding = true;
nativeBuildInputs = [
pkgconfig gobjectIntrospection vala gettext wrapGAppsHook
libxslt docbook_xsl docbook_xml_dtd_412 gtk-doc
];
buildInputs = [
glib gtk webkitgtk json-glib rest libsecret glib-networking icu libsoup
gcr kerberos
];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}