2014-01-21 14:09:21 +01:00
|
|
|
{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt
|
2014-02-20 10:27:10 +01:00
|
|
|
, gobjectIntrospection, valaSupport ? true, vala }:
|
2008-01-28 20:49:44 +01:00
|
|
|
|
2009-04-22 01:18:09 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2014-04-12 19:43:42 +02:00
|
|
|
name = "telepathy-glib-0.24.0";
|
2008-01-28 20:49:44 +01:00
|
|
|
|
2009-04-22 01:18:09 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
|
2014-04-12 19:43:42 +02:00
|
|
|
sha256 = "ae0002134991217f42e503c43dea7817853afc18863b913744d51ffa029818cf";
|
2009-04-22 01:18:09 +02:00
|
|
|
};
|
2008-01-28 20:49:44 +01:00
|
|
|
|
2014-02-20 10:27:10 +01:00
|
|
|
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
|
|
|
|
|
2014-01-21 14:09:21 +01:00
|
|
|
propagatedBuildInputs = [dbus_glib glib python gobjectIntrospection];
|
2013-02-23 22:20:42 +01:00
|
|
|
|
2014-02-20 10:27:10 +01:00
|
|
|
buildInputs = [pkgconfig libxslt] ++ stdenv.lib.optional valaSupport vala;
|
2012-03-13 20:06:38 +01:00
|
|
|
|
2014-12-08 15:59:06 +01:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
|
|
|
|
'';
|
|
|
|
|
2009-04-22 01:18:09 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://telepathy.freedesktop.org;
|
|
|
|
};
|
2008-01-28 20:49:44 +01:00
|
|
|
}
|