nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 57 lines 1.2 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 cmake, 6 qtbase, 7 pkg-config, 8 python3Packages, 9 dbus-glib, 10 dbus, 11 telepathy-farstream, 12 telepathy-glib, 13}: 14 15let 16 inherit (python3Packages) python dbus-python; 17in 18stdenv.mkDerivation rec { 19 pname = "telepathy-qt"; 20 version = "0.9.8"; 21 22 src = fetchurl { 23 url = "https://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-${version}.tar.gz"; 24 sha256 = "bf8e2a09060addb80475a4938105b9b41d9e6837999b7a00e5351783857e18ad"; 25 }; 26 27 nativeBuildInputs = [ 28 cmake 29 pkg-config 30 python 31 ]; 32 propagatedBuildInputs = [ 33 qtbase 34 telepathy-farstream 35 telepathy-glib 36 ]; 37 buildInputs = [ dbus-glib ]; 38 nativeCheckInputs = [ 39 dbus 40 dbus-python 41 ]; 42 43 # No point in building tests if they are not run 44 # On 0.9.7, they do not even build with QT4 45 cmakeFlags = lib.optional (!doCheck) "-DENABLE_TESTS=OFF"; 46 47 dontWrapQtApps = true; 48 49 doCheck = false; # giving up for now 50 51 meta = { 52 description = "Telepathy Qt bindings"; 53 homepage = "https://telepathy.freedesktop.org/components/telepathy-qt/"; 54 license = lib.licenses.lgpl21; 55 platforms = lib.platforms.unix; 56 }; 57}