2017-10-04 12:02:58 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, vala, glib, libxslt, gtk, wrapGAppsHook
|
2018-02-25 03:23:58 +01:00
|
|
|
, webkitgtk, json-glib, rest, libsecret, dbus-glib, gnome-common, gtk-doc
|
|
|
|
, telepathy-glib, intltool, dbus_libs, icu, glib-networking
|
2017-12-05 22:34:15 +01:00
|
|
|
, libsoup, docbook_xsl_ns, docbook_xsl, gnome3, gcr, kerberos
|
2016-09-18 21:35:23 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
|
2018-02-25 03:23:58 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${dbus-glib.dev}/include/dbus-1.0 -I${dbus_libs.dev}/include/dbus-1.0";
|
2016-09-18 21:35:23 +02: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"
|
|
|
|
];
|
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-02-25 03:23:58 +01:00
|
|
|
pkgconfig vala gnome-common intltool wrapGAppsHook
|
|
|
|
libxslt docbook_xsl_ns docbook_xsl gtk-doc
|
2017-12-05 22:11:15 +01:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2018-02-25 03:23:58 +01:00
|
|
|
glib gtk webkitgtk json-glib rest libsecret dbus-glib telepathy-glib 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
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|