nixpkgs-suyu/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 23:05:45 +01: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 23:05:45 +01:00
stdenv.mkDerivation rec {
pname = "folks";
2017-12-26 21:07:59 +01:00
version = "0.11.4";
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";
};
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 ];
nativeBuildInputs = [ pkgconfig intltool vala gobject-introspection ];
2018-07-25 23:44:21 +02:00
configureFlags = [ "--disable-fatal-warnings" ];
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";
};
};
meta = {
2018-12-25 23:05:45 +01: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
};
}