forked from mirrors/nixpkgs
gnome3.gnome-online-accounts: fix build
This commit is contained in:
parent
bf8b2afcca
commit
df37e9cf0e
|
@ -1,24 +1,20 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, vala, glib, libxslt, gtk, wrapGAppsHook
|
{ stdenv, fetchurl, pkgconfig, vala, glib, libxslt, gtk, wrapGAppsHook
|
||||||
, webkitgtk, json-glib, rest, libsecret, dbus-glib, gnome-common, gtk-doc
|
, webkitgtk, json-glib, rest, libsecret, dbus-glib, gtk-doc
|
||||||
, telepathy-glib, intltool, dbus_libs, icu, glib-networking
|
, telepathy-glib, gettext, dbus_libs, icu, glib-networking
|
||||||
, libsoup, docbook_xsl_ns, docbook_xsl, gnome3, gcr, kerberos
|
, libsoup, docbook_xsl, docbook_xsl_ns, gnome3, gcr, kerberos
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "gnome-online-accounts-${version}";
|
pname = "gnome-online-accounts";
|
||||||
version = "3.28.0";
|
version = "3.28.0";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-online-accounts/${gnome3.versionBranch version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "035lmm21imr7ddpzffqabv53g3ggjscmqvlzy3j1qkv00zrlxg47";
|
sha256 = "035lmm21imr7ddpzffqabv53g3ggjscmqvlzy3j1qkv00zrlxg47";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = gnome3.updateScript { packageName = "gnome-online-accounts"; attrPath = "gnome3.gnome-online-accounts"; };
|
|
||||||
};
|
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${dbus-glib.dev}/include/dbus-1.0 -I${dbus_libs.dev}/include/dbus-1.0";
|
|
||||||
|
|
||||||
outputs = [ "out" "man" "dev" "devdoc" ];
|
outputs = [ "out" "man" "dev" "devdoc" ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -32,14 +28,21 @@ stdenv.mkDerivation rec {
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig vala gnome-common intltool wrapGAppsHook
|
pkgconfig vala gettext wrapGAppsHook
|
||||||
libxslt docbook_xsl_ns docbook_xsl gtk-doc
|
libxslt docbook_xsl docbook_xsl_ns gtk-doc
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib gtk webkitgtk json-glib rest libsecret dbus-glib telepathy-glib glib-networking icu libsoup
|
glib gtk webkitgtk json-glib rest libsecret dbus-glib telepathy-glib glib-networking icu libsoup
|
||||||
gcr kerberos
|
gcr kerberos
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
|
|
Loading…
Reference in a new issue