2012-03-13 20:07:09 +01:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, pkgconfig, python, libxslt, dbus_glib
|
|
|
|
, telepathy_farsight, telepathy_glib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "telepathy-qt-0.9.0";
|
2008-01-23 17:34:33 +01:00
|
|
|
|
2009-02-20 17:18:56 +01:00
|
|
|
src = fetchurl {
|
2012-03-13 20:07:09 +01:00
|
|
|
url = "http://telepathy.freedesktop.org/releases/telepathy-qt/${name}.tar.gz";
|
|
|
|
sha256 = "0v3hnvzm3k2z99rc1znxgriqvf1n7wyjdzzsld0czhbmrz9fhang";
|
2009-02-20 17:18:56 +01:00
|
|
|
};
|
2012-03-13 20:07:09 +01:00
|
|
|
|
|
|
|
buildNativeInputs = [ cmake pkgconfig python libxslt ];
|
|
|
|
propagatedBuildInputs = [ qt4 dbus_glib telepathy_farsight telepathy_glib ];
|
|
|
|
|
|
|
|
patches = [ ./missing-include.patch ];
|
|
|
|
|
|
|
|
preBuild = ''
|
2012-03-14 00:15:06 +01:00
|
|
|
NIX_CFLAGS_COMPILE+=" `pkg-config --cflags farsight2-0.10 dbus-glib-1`"
|
2012-03-13 20:07:09 +01:00
|
|
|
'';
|
2008-01-23 17:34:33 +01:00
|
|
|
}
|