add telepathy-qt5

This commit is contained in:
Thomas Tuegel 2015-05-06 07:06:58 -05:00
parent 6dfbbc8e24
commit 09af6d4572
3 changed files with 32 additions and 0 deletions

@ -125,6 +125,7 @@ let
TIFF = libtiff;
Taglib = taglib;
TelepathyQt4 = telepathy_qt;
TelepathyQt5 = telepathy_qt5;
TunePimp = libtunepimp;
UDev = udev;
USB = libusb;

@ -0,0 +1,29 @@
{ stdenv, fetchurl, cmake, qt5, pkgconfig, python, libxslt, dbus_glib, dbus_daemon
, telepathy_farstream, telepathy_glib, pythonDBus }:
stdenv.mkDerivation rec {
name = "telepathy-qt5-0.9.5";
src = fetchurl {
url = "http://telepathy.freedesktop.org/releases/telepathy-qt/${name}.tar.gz";
sha256 = "13lwh23ad9bg7hx1mj4xjc2lb8nlaaw8hbrmx5gg8nz5xxc4hiwk";
};
nativeBuildInputs = [ cmake pkgconfig python libxslt ];
propagatedBuildInputs = [ qt5.base dbus_glib telepathy_farstream telepathy_glib pythonDBus ];
cmakeFlags = [ "-DDESIRED_QT_VERSION=5" ];
buildInputs = stdenv.lib.optional doCheck dbus_daemon;
preBuild = ''
NIX_CFLAGS_COMPILE+=" `pkg-config --cflags dbus-glib-1`"
'';
enableParallelBuilding = true;
doCheck = false; # giving up for now
meta = {
platforms = stdenv.lib.platforms.linux;
};
}

@ -7804,6 +7804,8 @@ let
telepathy_qt = callPackage ../development/libraries/telepathy/qt { };
telepathy_qt5 = callPackage ../development/libraries/telepathy/qt5 { };
tevent = callPackage ../development/libraries/tevent {
python = python2;
};