summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2016-11-20 20:59:48 +0100
committerRobert Helgesson <robert@rycee.net>2016-11-20 21:06:59 +0100
commit840db709ebd74027e917d37fd2b42da86f50ea10 (patch)
treed695b6e561756d881fb231eec347fe910e7cde1f /pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix
parentdf3747c100407f4a2c9c78866f767efcc8486391 (diff)
downloadnixpkgs-840db709ebd74027e917d37fd2b42da86f50ea10.tar
nixpkgs-840db709ebd74027e917d37fd2b42da86f50ea10.tar.gz
nixpkgs-840db709ebd74027e917d37fd2b42da86f50ea10.tar.bz2
nixpkgs-840db709ebd74027e917d37fd2b42da86f50ea10.tar.lz
nixpkgs-840db709ebd74027e917d37fd2b42da86f50ea10.tar.xz
nixpkgs-840db709ebd74027e917d37fd2b42da86f50ea10.tar.zst
nixpkgs-840db709ebd74027e917d37fd2b42da86f50ea10.zip
telepathy_haze: add patch to fix build
Without the patch, the build fails with recent versions of Pidgin.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix')
-rw-r--r--pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix b/pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix
index ffc29a52aa1..b1880be6562 100644
--- a/pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix
+++ b/pkgs/applications/networking/instant-messengers/telepathy/haze/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pidgin, telepathy_glib, glib, dbus_glib, pkgconfig, libxslt }:
+{ stdenv, fetchurl, fetchpatch, pidgin, telepathy_glib, glib, dbus_glib, pkgconfig, libxslt }:
 
 stdenv.mkDerivation rec {
   pname = "telepathy-haze";
@@ -13,6 +13,15 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ pkgconfig libxslt ];
 
+  patches = [
+    # Patch from Gentoo that helps telepathy-haze build with more
+    # recent versions of pidgin.
+    (fetchpatch {
+      url = https://raw.githubusercontent.com/gentoo/gentoo/master/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch;
+      sha256 = "0fa1p4n1559qd096w7ya4kvfnc1c98ykarkxzlpkwvzbczwzng3c";
+    })
+  ];
+
   meta = {
     description = "A Telepathy connection manager based on libpurple";
     platforms = stdenv.lib.platforms.gnu; # Random choice