2016-09-18 21:35:23 +02:00
|
|
|
{ fetchurl, stdenv, pkgconfig, glib, gnome3, nspr, intltool
|
|
|
|
, vala_0_32, sqlite, libxml2, dbus_glib, libsoup, nss, dbus_libs
|
|
|
|
, telepathy_glib, evolution_data_server, libsecret, db }:
|
|
|
|
|
|
|
|
# TODO: enable more folks backends
|
|
|
|
|
|
|
|
let
|
|
|
|
majorVersion = "0.11";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-03 03:01:31 +02:00
|
|
|
name = "folks-${majorVersion}.4";
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/folks/${majorVersion}/${name}.tar.xz";
|
2017-10-03 03:01:31 +02:00
|
|
|
sha256 = "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57";
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ glib gnome3.libgee sqlite ];
|
|
|
|
# dbus_daemon needed for tests
|
|
|
|
buildInputs = [ dbus_glib telepathy_glib evolution_data_server dbus_libs
|
|
|
|
vala_0_32 libsecret libxml2 libsoup nspr nss intltool db ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
configureFlags = "--disable-fatal-warnings";
|
|
|
|
|
2016-10-03 22:21:13 +02:00
|
|
|
NIX_CFLAGS_COMPILE = ["-I${nss.dev}/include/nss"
|
2016-09-18 21:35:23 +02:00
|
|
|
"-I${dbus_glib.dev}/include/dbus-1.0" "-I${dbus_libs.dev}/include/dbus-1.0"];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
postBuild = "rm -rf $out/share/gtk-doc";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Folks";
|
|
|
|
|
|
|
|
homepage = https://wiki.gnome.org/Projects/Folks;
|
|
|
|
|
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
|
|
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
|
|
|
};
|
|
|
|
}
|