diff options
author | aszlig <aszlig@redmoonstudios.org> | 2013-05-27 07:42:38 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2013-05-27 10:18:00 +0200 |
commit | bdedaae691dcf0661595fc1fe10dd7ae5972bf6b (patch) | |
tree | 9d658512ce77cb57d456af7d2c491b2050aebe02 /pkgs | |
parent | 91d0ab7af1489ed71980408aeb30734811474121 (diff) | |
download | nixlib-bdedaae691dcf0661595fc1fe10dd7ae5972bf6b.tar nixlib-bdedaae691dcf0661595fc1fe10dd7ae5972bf6b.tar.gz nixlib-bdedaae691dcf0661595fc1fe10dd7ae5972bf6b.tar.bz2 nixlib-bdedaae691dcf0661595fc1fe10dd7ae5972bf6b.tar.lz nixlib-bdedaae691dcf0661595fc1fe10dd7ae5972bf6b.tar.xz nixlib-bdedaae691dcf0661595fc1fe10dd7ae5972bf6b.tar.zst nixlib-bdedaae691dcf0661595fc1fe10dd7ae5972bf6b.zip |
gajim: Enable SRV support using drill from ldns.
Use a patch from Arch Linux to use drill instead of nslookup. The primary reason for this is because nslookup is in bind, and we don't want to depend on the whole bind package just for the sake of supporting SRV lookups. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/gajim/default.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/applications/networking/instant-messengers/gajim/default.nix b/pkgs/applications/networking/instant-messengers/gajim/default.nix index 7bb5207bb3d3..c8c3f3b7d2a0 100644 --- a/pkgs/applications/networking/instant-messengers/gajim/default.nix +++ b/pkgs/applications/networking/instant-messengers/gajim/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, python, intltool, pkgconfig, libX11, gtk -, pyopenssl, pythonDBus, pythonPackages +, ldns, pyopenssl, pythonDBus, pythonPackages , enableJingle ? true, farstream ? null, gst_plugins_bad ? null , libnice ? null @@ -25,11 +25,19 @@ stdenv.mkDerivation rec { sha256 = "1g4m5j777vqqdwqvr2m6l09ljjx65ilag45d5kfc78z7frm0cz7g"; }; - patches = singleton (fetchurl { - name = "gajim-icon-index.patch"; - url = "http://hg.gajim.org/gajim/raw-rev/b9ec78663dfb"; - sha256 = "0w54hr5dq9y36val55kmh8d6cid7h4fs2nghx09714jylz2nyxxv"; - }); + patches = [ + (fetchurl { + name = "gajim-drill-srv.patch"; + url = "https://projects.archlinux.org/svntogit/packages.git/" + + "plain/trunk/gajim-drill.patch?h=packages/gajim"; + sha256 = "1k8zz3ns0l0kriffq41jgkv5ym6jvyd24171l7s98v9d81prdw1w"; + }) + (fetchurl { + name = "gajim-icon-index.patch"; + url = "http://hg.gajim.org/gajim/raw-rev/b9ec78663dfb"; + sha256 = "0w54hr5dq9y36val55kmh8d6cid7h4fs2nghx09714jylz2nyxxv"; + }) + ]; postPatch = '' sed -i -e '0,/^[^#]/ { |