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