lol
1{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt
2, gobjectIntrospection, valaSupport ? true, vala }:
3
4stdenv.mkDerivation rec {
5 name = "telepathy-glib-0.24.0";
6
7 src = fetchurl {
8 url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
9 sha256 = "ae0002134991217f42e503c43dea7817853afc18863b913744d51ffa029818cf";
10 };
11
12 configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
13
14 propagatedBuildInputs = [dbus_glib glib python gobjectIntrospection];
15
16 buildInputs = [pkgconfig libxslt] ++ stdenv.lib.optional valaSupport vala;
17
18 preConfigure = ''
19 substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
20 '';
21
22 meta = {
23 homepage = http://telepathy.freedesktop.org;
24 };
25}