2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, qtbase, pkg-config, python3Packages, dbus-glib, dbus
|
2018-02-25 02:23:58 +00:00
|
|
|
, telepathy-farstream, telepathy-glib, fetchpatch }:
|
2012-03-13 19:07:09 +00:00
|
|
|
|
2016-08-16 20:51:21 +00:00
|
|
|
let
|
2020-07-01 16:51:27 +00:00
|
|
|
inherit (python3Packages) python dbus-python;
|
2016-08-16 20:51:21 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
2020-07-01 16:51:27 +00:00
|
|
|
name = "telepathy-qt-0.9.8";
|
2008-01-23 16:34:33 +00:00
|
|
|
|
2009-02-20 16:18:56 +00:00
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://telepathy.freedesktop.org/releases/telepathy-qt/${name}.tar.gz";
|
2020-07-01 16:51:27 +00:00
|
|
|
sha256 = "bf8e2a09060addb80475a4938105b9b41d9e6837999b7a00e5351783857e18ad";
|
2009-02-20 16:18:56 +00:00
|
|
|
};
|
2016-03-02 16:40:08 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config python ];
|
2018-02-25 02:23:58 +00:00
|
|
|
propagatedBuildInputs = [ qtbase telepathy-farstream telepathy-glib ];
|
|
|
|
buildInputs = [ dbus-glib ];
|
2018-07-17 20:11:16 +00:00
|
|
|
checkInputs = [ dbus.daemon dbus-python ];
|
2017-12-13 00:03:13 +00:00
|
|
|
|
|
|
|
# No point in building tests if they are not run
|
|
|
|
# On 0.9.7, they do not even build with QT4
|
2021-01-21 17:00:13 +00:00
|
|
|
cmakeFlags = lib.optional (!doCheck) "-DENABLE_TESTS=OFF";
|
2014-06-19 21:02:18 +00:00
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2014-06-19 21:02:18 +00:00
|
|
|
doCheck = false; # giving up for now
|
2014-10-03 13:27:13 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-12-13 00:03:13 +00:00
|
|
|
description = "Telepathy Qt bindings";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://telepathy.freedesktop.org/components/telepathy-qt/";
|
2017-12-13 00:03:13 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
2014-10-03 13:27:13 +00:00
|
|
|
};
|
2008-01-23 16:34:33 +00:00
|
|
|
}
|