git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #32793 from jtojnar/telepathy

Telepathy updates

commit64cc62162d6266d70c4c6b57f7e7095925a8ef71 authorJan Tojnar <jtojnar@gmail.com> dateTue 19 Dec 2017, 00:47 (9 years ago) parentfa82216bfbfea9
4 files changed+46−56
pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix+4−3 pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix+13−10 pkgs/applications/networking/instant-messengers/telepathy/mission-control/default.nix+7−7 pkgs/development/libraries/telepathy/qt/default.nix+22−36
pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix+4−3
@@ -2,11 +2,11 @@
22, sqlite, libsoup, libnice, gnutls}:
33
44stdenv.mkDerivation rec {
5− name = "telepathy-gabble-0.18.2";
5+ name = "telepathy-gabble-0.18.3";
66
77 src = fetchurl {
88 url = "${meta.homepage}/releases/telepathy-gabble/${name}.tar.gz";
9− sha256 = "00ag32ccbj0hmy41rb0fg9gp40m7zbq45r4yijnyslk2mpkvg7c9";
9+ sha256 = "1hl9k6jwn2afwwv7br16wfw5szdhwxqziba47xd8vjwvgrh19iwf";
1010 };
1111
1212 nativeBuildInputs = [ pkgconfig libxslt ];
@@ -19,8 +19,9 @@ stdenv.mkDerivation rec {
1919 doCheck = true;
2020
2121 meta = with stdenv.lib; {
22− homepage = http://telepathy.freedesktop.org;
22+ homepage = https://telepathy.freedesktop.org/components/telepathy-gabble/;
2323 description = "Jabber/XMPP connection manager for the Telepathy framework";
24+ license = licenses.lgpl21Plus;
2425 platforms = stdenv.lib.platforms.gnu;
2526 };
2627}
pkgs/applications/networking/instant-messengers/telepathy/logger/default.nix+13−10
@@ -3,18 +3,20 @@
33
44stdenv.mkDerivation rec {
55 project = "telepathy-logger";
6− name = "${project}-0.8.0";
6+ name = "${project}-0.8.2";
77
88 src = fetchurl {
99 url = "http://telepathy.freedesktop.org/releases/${project}/${name}.tar.bz2";
1010 sha256 = "18i00l8lnp5dghqmgmpxnn0is2a20pkisxy0sb78hnd2dz0z6xnl";
1111 };
1212
13− NIX_CFLAGS_COMPILE = "-I${dbus_glib.dev}/include/dbus-1.0 -I${dbus_libs.dev}/include/dbus-1.0";
14−
15− nativeBuildInputs = [ makeWrapper pkgconfig ];
16− buildInputs = [ dbus_glib libxml2 sqlite telepathy_glib intltool libxslt
17− gobjectIntrospection dbus_libs telepathy_glib.python (stdenv.lib.getLib gnome3.dconf) ];
13+ nativeBuildInputs = [
14+ makeWrapper pkgconfig intltool libxslt gobjectIntrospection
15+ ];
16+ buildInputs = [
17+ dbus_glib libxml2 sqlite telepathy_glib
18+ dbus_libs telepathy_glib.python
19+ ];
1820
1921 configureFlags = "--enable-call";
2022
@@ -24,10 +26,11 @@ stdenv.mkDerivation rec {
2426 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
2527 '';
2628
27− meta = {
29+ meta = with stdenv.lib; {
2830 description = "Logger service for Telepathy framework";
29− homepage = http://telepathy.freedesktop.org/wiki/Logger ;
30− maintainers = [ ];
31− platforms = stdenv.lib.platforms.gnu; # Arbitrary choice
31+ homepage = https://telepathy.freedesktop.org/components/telepathy-logger/;
32+ license = licenses.lgpl21;
33+ maintainers = with maintainers; [ jtojnar ];
34+ platforms = platforms.gnu; # Arbitrary choice
3235 };
3336}
pkgs/applications/networking/instant-messengers/telepathy/mission-control/default.nix+7−7
@@ -1,18 +1,17 @@
1−{ stdenv, fetchurl, pkgconfig, gnome3, telepathy_glib, libxslt, makeWrapper, upower }:
1+{ stdenv, fetchurl, pkgconfig, gnome3, telepathy_glib, libxslt, makeWrapper }:
22
33stdenv.mkDerivation rec {
4− name = "${pname}-5.16.3";
4+ name = "${pname}-5.16.4";
55 pname = "telepathy-mission-control";
66
77 src = fetchurl {
88 url = "http://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz";
9− sha256 = "0zcbx69k0d3p2pjh3g7sa3q2zkd5xchxkqsmlfn3fwxaz0pmsmvi";
9+ sha256 = "1jz6wwgsfxixha6ys2hbzbk5faqnj9kh2m5qdlgx5anqgandsscp";
1010 };
1111
12− buildInputs = [ telepathy_glib telepathy_glib.python makeWrapper /*upower*/ ]; # ToDo: optional stuff missing
13− # 5.16.3 won't build with upower-0.99. Arch and Debian choose to disable it
12+ buildInputs = [ telepathy_glib telepathy_glib.python ]; # ToDo: optional stuff missing
1413
15− nativeBuildInputs = [ pkgconfig libxslt ];
14+ nativeBuildInputs = [ pkgconfig libxslt makeWrapper ];
1615
1716 doCheck = true;
1817
@@ -24,8 +23,9 @@ stdenv.mkDerivation rec {
2423
2524 meta = with stdenv.lib; {
2625 description = "An account manager and channel dispatcher for the Telepathy framework";
27− homepage = http://telepathy.freedesktop.org/wiki/;
26+ homepage = https://telepathy.freedesktop.org/components/telepathy-mission-control/;
2827 license = licenses.lgpl21;
28+ maintainers = with maintainers; [ jtojnar ];
2929 platforms = platforms.unix;
3030 };
3131}
pkgs/development/libraries/telepathy/qt/default.nix+22−36
@@ -4,51 +4,37 @@
44let
55 inherit (python2Packages) python dbus-python;
66in stdenv.mkDerivation rec {
7− name = "telepathy-qt-0.9.6.1";
7+ name = "telepathy-qt-0.9.7";
88
99 src = fetchurl {
1010 url = "http://telepathy.freedesktop.org/releases/telepathy-qt/${name}.tar.gz";
11− sha256 = "1y51c6rxk5qvmab98c8rnmrlyk27hnl248casvbq3cd93sav8vj9";
11+ sha256 = "0krxd4hhfx6r0ja19wh3848j7gn1rv8jrnakgmkbmi7bww5x7fi1";
1212 };
1313
14− patches = let
15− mkUrl = hash: "http://cgit.freedesktop.org/telepathy/telepathy-qt/patch/?id=" + hash;
16− in [
17− (fetchpatch {
18− name = "gst-1.6.patch";
19− url = mkUrl "ec4a3d62b68a57254515f01fc5ea3325ffb1dbfb";
20− sha256 = "1rh7n3xyrwpvpa3haqi35qn4mfz4396ha43w4zsqpmcyda9y65v2";
21− })
22− (fetchpatch {
23− name = "parallel-make-1.patch";
24− url = mkUrl "1e1f53e9d91684918c34ec50392f86287e001a1e";
25− sha256 = "1f9nk0bi90armb9zay53c7cz70zcwqqwli7sb9wgw76rmwqhl8qw";
26− })
27− (fetchpatch {
28− name = "parallel-make-2.patch";
29− url = mkUrl "7389dc990c67d4269f3a79c924c054e87f2e4ac5";
30− sha256 = "0mvdvyy76kpaxacljidf06wd43fr2qripr4mwsakjs3hxb1pkk57";
31− })
32− ];
33−
3414 nativeBuildInputs = [ cmake pkgconfig python ];
35− propagatedBuildInputs = [ qtbase dbus_glib telepathy_farstream telepathy_glib dbus-python ];
36−
37− buildInputs = stdenv.lib.optional doCheck dbus_daemon;
38−
39− cmakeFlags = "-DDESIRED_QT_VERSION=${builtins.substring 0 1 qtbase.version}";
40−
41− # should be removable after the next update
42− NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
43−
44− preBuild = ''
45− NIX_CFLAGS_COMPILE+=" `pkg-config --cflags dbus-glib-1`"
46− '';
15+ propagatedBuildInputs = [ qtbase telepathy_farstream telepathy_glib ];
16+ buildInputs = [ dbus_glib ];
17+ checkInputs = [ dbus_daemon dbus-python ];
18+
19+ patches = [
20+ # https://github.com/TelepathyIM/telepathy-qt/issues/25
21+ (fetchpatch {
22+ url = https://github.com/TelepathyIM/telepathy-qt/commit/d654dc70dbec7097e96e6d96ca74ab1b5b00ef8c.patch;
23+ sha256 = "1jzd9b9rqh3c8xlq8dr7c0r8aabzf5ywv2gpkk6phh3xwngzrfbh";
24+ })
25+ ];
26+
27+ # No point in building tests if they are not run
28+ # On 0.9.7, they do not even build with QT4
29+ cmakeFlags = stdenv.lib.optional (!doCheck) "-DENABLE_TESTS=OFF";
4730
4831 enableParallelBuilding = true;
4932 doCheck = false; # giving up for now
5033
51− meta = {
52− platforms = stdenv.lib.platforms.linux;
34+ meta = with stdenv.lib; {
35+ description = "Telepathy Qt bindings";
36+ homepage = https://telepathy.freedesktop.org/components/telepathy-qt/;
37+ license = licenses.lgpl21;
38+ platforms = platforms.linux;
5339 };
5440}