2018-12-02 12:41:15 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, glib, gnome3, nspr, intltool, gobject-introspection
|
2018-12-25 23:05:45 +01:00
|
|
|
, vala, sqlite, libxml2, dbus-glib, libsoup, nss, dbus, libgee
|
2018-02-25 03:23:58 +01:00
|
|
|
, telepathy-glib, evolution-data-server, libsecret, db }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
# TODO: enable more folks backends
|
|
|
|
|
2018-12-25 23:05:45 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "folks";
|
2017-12-26 21:07:59 +01:00
|
|
|
version = "0.11.4";
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-25 23:05:45 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2017-10-03 03:01:31 +02:00
|
|
|
sha256 = "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57";
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
|
2018-12-25 23:05:45 +01:00
|
|
|
propagatedBuildInputs = [ glib libgee sqlite ];
|
2019-03-07 15:53:53 +01:00
|
|
|
|
2018-09-12 14:27:01 +02:00
|
|
|
buildInputs = [
|
2019-03-07 15:53:53 +01:00
|
|
|
dbus-glib telepathy-glib evolution-data-server
|
2018-09-12 14:27:01 +02:00
|
|
|
libsecret libxml2 libsoup nspr nss db
|
|
|
|
];
|
2019-03-07 15:53:53 +01:00
|
|
|
|
|
|
|
checkInputs = [ dbus ];
|
|
|
|
|
2018-12-02 12:41:15 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool vala gobject-introspection ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-07-25 23:44:21 +02:00
|
|
|
configureFlags = [ "--disable-fatal-warnings" ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
postBuild = "rm -rf $out/share/gtk-doc";
|
|
|
|
|
2017-12-26 21:07:59 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
2018-12-25 23:05:45 +01:00
|
|
|
packageName = pname;
|
2017-12-26 21:07:59 +01:00
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
meta = {
|
2018-12-25 23:05:45 +01:00
|
|
|
description = "A library that aggregates people from multiple sources to create metacontacts";
|
2016-09-18 21:35:23 +02:00
|
|
|
homepage = https://wiki.gnome.org/Projects/Folks;
|
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
|
|
maintainers = gnome3.maintainers;
|
2018-05-01 00:47:47 +02:00
|
|
|
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
}
|