2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, dbus-glib, libxml2, sqlite, telepathy-glib, pkgconfig
|
2019-11-30 23:11:47 +00:00
|
|
|
, dconf, makeWrapper, intltool, libxslt, gobject-introspection, dbus }:
|
2012-03-28 20:23:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
project = "telepathy-logger";
|
2017-12-18 03:58:21 +00:00
|
|
|
name = "${project}-0.8.2";
|
2012-03-28 20:23:42 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://telepathy.freedesktop.org/releases/${project}/${name}.tar.bz2";
|
2018-05-07 20:47:26 +01:00
|
|
|
sha256 = "1bjx85k7jyfi5pvl765fzc7q2iz9va51anrc2djv7caksqsdbjlg";
|
2012-03-28 20:23:42 +01:00
|
|
|
};
|
|
|
|
|
2017-12-18 03:58:21 +00:00
|
|
|
nativeBuildInputs = [
|
2018-12-02 11:41:15 +00:00
|
|
|
makeWrapper pkgconfig intltool libxslt gobject-introspection
|
2017-12-18 03:58:21 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
dbus-glib libxml2 sqlite telepathy-glib
|
2018-07-17 21:11:16 +01:00
|
|
|
dbus telepathy-glib.python
|
2017-12-18 03:58:21 +00:00
|
|
|
];
|
2012-03-28 20:23:42 +01:00
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--enable-call" ];
|
2012-03-28 20:23:42 +01:00
|
|
|
|
2017-07-24 05:24:11 +01:00
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/libexec/telepathy-logger" \
|
2019-11-30 23:11:47 +00:00
|
|
|
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
|
2017-07-24 05:24:11 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
'';
|
|
|
|
|
2017-12-18 03:58:21 +00:00
|
|
|
meta = with stdenv.lib; {
|
2012-03-28 20:23:42 +01:00
|
|
|
description = "Logger service for Telepathy framework";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://telepathy.freedesktop.org/components/telepathy-logger/";
|
2017-12-18 03:58:21 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
2018-04-30 23:43:54 +01:00
|
|
|
platforms = platforms.gnu ++ platforms.linux; # Arbitrary choice
|
2012-03-28 20:23:42 +01:00
|
|
|
};
|
|
|
|
}
|