diff --git a/pkgs/applications/kde-apps-15.04/default.nix b/pkgs/applications/kde-apps-15.04/default.nix index e08394f0bf02..e680f006f89a 100644 --- a/pkgs/applications/kde-apps-15.04/default.nix +++ b/pkgs/applications/kde-apps-15.04/default.nix @@ -125,6 +125,7 @@ let TIFF = libtiff; Taglib = taglib; TelepathyQt4 = telepathy_qt; + TelepathyQt5 = telepathy_qt5; TunePimp = libtunepimp; UDev = udev; USB = libusb; diff --git a/pkgs/development/libraries/telepathy/qt5/default.nix b/pkgs/development/libraries/telepathy/qt5/default.nix new file mode 100644 index 000000000000..50d569f30917 --- /dev/null +++ b/pkgs/development/libraries/telepathy/qt5/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a4eb351261a2..d01732ac273c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; };