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