nixpkgs/pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix
2015-10-13 20:19:01 +02:00

29 lines
950 B
Nix

{ stdenv, fetchurl, dbus_glib, libxml2, sqlite, telepathy_glib, pkgconfig
, intltool, libxslt, gobjectIntrospection, dbus_libs }:
stdenv.mkDerivation rec {
project = "telepathy-logger";
name = "${project}-0.8.0";
src = fetchurl {
url = "http://telepathy.freedesktop.org/releases/${project}/${name}.tar.bz2";
sha256 = "18i00l8lnp5dghqmgmpxnn0is2a20pkisxy0sb78hnd2dz0z6xnl";
};
NIX_CFLAGS_COMPILE = "-I${dbus_glib.dev}/include/dbus-1.0 -I${dbus_libs.dev}/include/dbus-1.0";
buildInputs = [ dbus_glib libxml2 sqlite telepathy_glib pkgconfig intltool
gobjectIntrospection dbus_libs ];
nativeBuildInputs = [ libxslt ];
configureFlags = "--enable-call";
meta = {
description = "Logger service for Telepathy framework";
homepage = http://telepathy.freedesktop.org/wiki/Logger ;
maintainers = [ stdenv.lib.maintainers.urkud ];
platforms = stdenv.lib.platforms.gnu; # Arbitrary choice
};
}