fcfecf8c20
The previous update attempt (76f9a4d711
) did not change the hash 😞
37 lines
1.2 KiB
Nix
37 lines
1.2 KiB
Nix
{ stdenv, fetchurl, dbus-glib, libxml2, sqlite, telepathy-glib, pkgconfig
|
|
, gnome3, makeWrapper, intltool, libxslt, gobjectIntrospection, dbus_libs }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
project = "telepathy-logger";
|
|
name = "${project}-0.8.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://telepathy.freedesktop.org/releases/${project}/${name}.tar.bz2";
|
|
sha256 = "1bjx85k7jyfi5pvl765fzc7q2iz9va51anrc2djv7caksqsdbjlg";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
makeWrapper pkgconfig intltool libxslt gobjectIntrospection
|
|
];
|
|
buildInputs = [
|
|
dbus-glib libxml2 sqlite telepathy-glib
|
|
dbus_libs telepathy-glib.python
|
|
];
|
|
|
|
configureFlags = "--enable-call";
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/libexec/telepathy-logger" \
|
|
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" \
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Logger service for Telepathy framework";
|
|
homepage = https://telepathy.freedesktop.org/components/telepathy-logger/;
|
|
license = licenses.lgpl21;
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
platforms = platforms.gnu ++ platforms.linux; # Arbitrary choice
|
|
};
|
|
}
|