1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/folks/default.nix
Tor Hedin Brønner 36e34b2126
folks: cleanup
2019-04-05 11:40:33 +02:00

48 lines
1.4 KiB
Nix

{ fetchurl, stdenv, pkgconfig, glib, gnome3, nspr, intltool, gobject-introspection
, vala, sqlite, libxml2, dbus-glib, libsoup, nss, dbus, libgee
, telepathy-glib, evolution-data-server, libsecret, db }:
# TODO: enable more folks backends
stdenv.mkDerivation rec {
pname = "folks";
version = "0.11.4";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57";
};
propagatedBuildInputs = [ glib libgee sqlite ];
buildInputs = [
dbus-glib telepathy-glib evolution-data-server
libsecret libxml2 libsoup nspr nss db
];
checkInputs = [ dbus ];
nativeBuildInputs = [ pkgconfig intltool vala gobject-introspection ];
configureFlags = [ "--disable-fatal-warnings" ];
enableParallelBuilding = true;
postBuild = "rm -rf $out/share/gtk-doc";
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = {
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
};
}