Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchurl 4, cmake 5, qtbase 6, pkg-config 7, python3Packages 8, dbus-glib 9, dbus 10, telepathy-farstream 11, telepathy-glib 12}: 13 14let 15 inherit (python3Packages) python dbus-python; 16in 17stdenv.mkDerivation rec { 18 pname = "telepathy-qt"; 19 version = "0.9.8"; 20 21 src = fetchurl { 22 url = "https://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-${version}.tar.gz"; 23 sha256 = "bf8e2a09060addb80475a4938105b9b41d9e6837999b7a00e5351783857e18ad"; 24 }; 25 26 nativeBuildInputs = [ cmake pkg-config python ]; 27 propagatedBuildInputs = [ qtbase telepathy-farstream telepathy-glib ]; 28 buildInputs = [ dbus-glib ]; 29 nativeCheckInputs = [ dbus dbus-python ]; 30 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"; 34 35 dontWrapQtApps = true; 36 37 doCheck = false; # giving up for now 38 39 meta = with lib; { 40 description = "Telepathy Qt bindings"; 41 homepage = "https://telepathy.freedesktop.org/components/telepathy-qt/"; 42 license = licenses.lgpl21; 43 platforms = platforms.unix; 44 }; 45}