15 inherit (python3Packages) python dbus-python;
17 stdenv.mkDerivation rec {
18 pname = "telepathy-qt";
22 url = "https://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-${version}.tar.gz";
23 sha256 = "bf8e2a09060addb80475a4938105b9b41d9e6837999b7a00e5351783857e18ad";
26 nativeBuildInputs = [ cmake pkg-config python ];
27 propagatedBuildInputs = [ qtbase telepathy-farstream telepathy-glib ];
28 buildInputs = [ dbus-glib ];
29 checkInputs = [ dbus.daemon dbus-python ];
31 # No point in building tests if they are not run
32 # On 0.9.7, they do not even build with QT4
33 cmakeFlags = lib.optional (!doCheck) "-DENABLE_TESTS=OFF";
35 dontWrapQtApps = true;
37 doCheck = false; # giving up for now
40 description = "Telepathy Qt bindings";
41 homepage = "https://telepathy.freedesktop.org/components/telepathy-qt/";
42 license = licenses.lgpl21;
43 platforms = platforms.linux;