diff options
author | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2018-01-07 16:38:35 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2018-01-07 16:38:35 +0000 |
commit | 27459e20209ec7e834b7b1bca5dca4cc5012e162 (patch) | |
tree | 51e677133e32a04a52b52fc5c0f87d458853b3cd /pkgs/applications | |
parent | 92dbe72331769775f61fd205d75985cf454a839f (diff) | |
download | nixpkgs-27459e20209ec7e834b7b1bca5dca4cc5012e162.tar nixpkgs-27459e20209ec7e834b7b1bca5dca4cc5012e162.tar.gz nixpkgs-27459e20209ec7e834b7b1bca5dca4cc5012e162.tar.bz2 nixpkgs-27459e20209ec7e834b7b1bca5dca4cc5012e162.tar.lz nixpkgs-27459e20209ec7e834b7b1bca5dca4cc5012e162.tar.xz nixpkgs-27459e20209ec7e834b7b1bca5dca4cc5012e162.tar.zst nixpkgs-27459e20209ec7e834b7b1bca5dca4cc5012e162.zip |
pidgin: build with cyrus_sasl for SASL in IRC and XMPP
SASL is required to connect to Freenode on high-abuse networks, e.g. highly NATed networks or Tor. However, Pidgin only supports PLAIN authorization type, and Freenode specifically prohibits using anything other than EXTERNAL or ECDSA-NIST256P-CHALLENGE over Tor. It still allows PLAIN for potentially problematic clearnet networks, though.
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/pidgin/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin/default.nix b/pkgs/applications/networking/instant-messengers/pidgin/default.nix index cf1893b198e..bd3fc82f7cb 100644 --- a/pkgs/applications/networking/instant-messengers/pidgin/default.nix +++ b/pkgs/applications/networking/instant-messengers/pidgin/default.nix @@ -3,6 +3,7 @@ , perl, perlXMLParser, libxml2, nss, nspr, farstream , libXScrnSaver, ncurses, avahi, dbus, dbus_glib, intltool, libidn , lib, python, libICE, libXext, libSM +, cyrus_sasl ? null , openssl ? null , gnutls ? null , libgcrypt ? null @@ -33,7 +34,7 @@ let unwrapped = stdenv.mkDerivation rec { libxml2 nss nspr farstream libXScrnSaver ncurses python avahi dbus dbus_glib intltool libidn - libICE libXext libSM + libICE libXext libSM cyrus_sasl ] ++ (lib.optional (openssl != null) openssl) ++ (lib.optional (gnutls != null) gnutls) @@ -55,6 +56,7 @@ let unwrapped = stdenv.mkDerivation rec { "--disable-nm" "--disable-tcl" ] + ++ (lib.optionals (cyrus_sasl != null) [ "--enable-cyrus-sasl=yes" ]) ++ (lib.optionals (gnutls != null) ["--enable-gnutls=yes" "--enable-nss=no"]); enableParallelBuilding = true; @@ -78,4 +80,3 @@ in if plugins == [] then unwrapped inherit stdenv makeWrapper symlinkJoin plugins; pidgin = unwrapped; } - |