From 772cff097ee40353f703d64ab49df0eeb309b2c4 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 3 Jan 2015 04:40:12 +0100 Subject: [PATCH] loudmouth: Apply digest auth fix from Arch Linux. Digest authentication otherwise won't work with MCabber, no matter whether it's SHA1 or MD5. Signed-off-by: aszlig Tested-by: devhell <"^"@regexmail.net> --- pkgs/development/libraries/loudmouth/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/loudmouth/default.nix b/pkgs/development/libraries/loudmouth/default.nix index 5c67aaa4c197..1e3ed216f5a8 100644 --- a/pkgs/development/libraries/loudmouth/default.nix +++ b/pkgs/development/libraries/loudmouth/default.nix @@ -8,7 +8,15 @@ stdenv.mkDerivation rec { sha256 = "1qr9z73i33y49pbpq6zy7q537g0iyc8sm56rjf0ylwcv01fkzacm"; }; - patches = [ ./glib-2.32.patch ]; + patches = [ + ./glib-2.32.patch + (fetchurl rec { + name = "01-fix-sasl-md5-digest-uri.patch"; + url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/" + + "${name}?h=packages/loudmouth"; + sha256 = "0y79vbklscgp8248iirllwmgk4q0wwyl3gmxz7l9frc2384xvanm"; + }) + ]; configureFlags = "--with-ssl=openssl";