mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
855e0463ab
"platforms.gnu" has been linux-only since at least 17.03: $ nix eval -f channel:nixos-17.03 lib.platforms.gnu [ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mips64el-linux" ] Unlike platforms.linux, platforms.gnu indicates "must use glibc" which for the most part is not intended. Replacing platforms.gnu with platforms.linux would be the same "today" but let's err on preserving existing behavior and be optimistic about platforms these packages work on.
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 = "18i00l8lnp5dghqmgmpxnn0is2a20pkisxy0sb78hnd2dz0z6xnl";
|
|
};
|
|
|
|
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
|
|
};
|
|
}
|