nixpkgs/pkgs/development/libraries/folks/default.nix

48 lines
1.4 KiB
Nix
Raw Normal View History

{ 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
, telepathy-glib, evolution-data-server, libsecret, db }:
# 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";
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";
};
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 ];
nativeBuildInputs = [ pkgconfig intltool vala gobject-introspection ];
2018-07-25 22:44:21 +01:00
configureFlags = [ "--disable-fatal-warnings" ];
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";
};
};
meta = {
2018-12-25 22:05:45 +00:00
description = "A library that aggregates people from multiple sources to create metacontacts";
homepage = https://wiki.gnome.org/Projects/Folks;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = gnome3.maintainers;
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
};
}