diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2008-09-06 10:30:55 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2008-09-06 10:30:55 +0000 |
commit | de45b13c79706ab719adabb454e50fe10244a3fd (patch) | |
tree | bdfecf0c5fd3771553370fada38944e3f017f09c /pkgs/applications/networking/instant-messengers/pidgin | |
parent | 6c4a6e83b4665ba1b5effa7d153c587e2668d8ed (diff) |
Options to remove OpenSSL and use gnuTLS for Pidgin (reported to work better with, say, Amessage or any other XMPP server which requires strong channel encryption)
svn path=/nixpkgs/trunk/; revision=12813
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/pidgin')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/pidgin/default.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin/default.nix b/pkgs/applications/networking/instant-messengers/pidgin/default.nix index 9a4d29f09b372..0f8526e5a6c86 100644 --- a/pkgs/applications/networking/instant-messengers/pidgin/default.nix +++ b/pkgs/applications/networking/instant-messengers/pidgin/default.nix @@ -12,8 +12,11 @@ */ { stdenv, fetchurl, pkgconfig, gtk, gtkspell, aspell, GStreamer, startupnotification, gettext, - perl, perlXMLParser, libxml2, openssl, nss, + perl, perlXMLParser, libxml2, nss, libXScrnSaver, ncurses, avahi, dbus, dbus_glib + , lib + , openssl ? null + , gnutls ? null } : stdenv.mkDerivation { @@ -27,10 +30,15 @@ stdenv.mkDerivation { buildInputs = [ gtkspell aspell GStreamer startupnotification - libxml2 openssl nss + libxml2] + ++ (lib.optional (openssl != null) openssl) + ++ (lib.optional (gnutls != null) gnutls) + ++ + [nss libXScrnSaver ncurses avahi dbus dbus_glib - ]; + ] + ; propagatedBuildInputs = [ pkgconfig gtk perl perlXMLParser gettext |