2007-05-13 16:22:24 +02:00
|
|
|
/**
|
|
|
|
* Possible missing configuration:
|
|
|
|
*
|
|
|
|
* - silcclient
|
|
|
|
* - libebook-1.2
|
|
|
|
* - libedata-book-1.2
|
|
|
|
* - checking for XScreenSaverRegister in -lXext... no
|
|
|
|
* - checking for XScreenSaverRegister in -lXss... no
|
|
|
|
* - ao
|
|
|
|
* - audiofile-config
|
|
|
|
* - doxygen
|
|
|
|
*/
|
2007-05-14 02:51:30 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, gtkspell, aspell,
|
2007-05-13 16:22:24 +02:00
|
|
|
GStreamer, startupnotification, gettext,
|
2008-09-06 12:30:55 +02:00
|
|
|
perl, perlXMLParser, libxml2, nss,
|
2009-01-28 17:17:32 +01:00
|
|
|
libXScrnSaver, ncurses, avahi, dbus, dbus_glib, intltool
|
2008-09-06 12:30:55 +02:00
|
|
|
, lib
|
|
|
|
, openssl ? null
|
|
|
|
, gnutls ? null
|
2007-05-13 16:22:24 +02:00
|
|
|
} :
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-06-08 20:31:07 +02:00
|
|
|
name = "pidgin-2.5.6";
|
2007-05-13 16:22:24 +02:00
|
|
|
src = fetchurl {
|
2009-06-08 20:31:07 +02:00
|
|
|
url = mirror://sourceforge/pidgin/pidgin-2.5.6.tar.bz2;
|
|
|
|
sha256 = "00lsb0pmz1zn37xzwji91izzklr9famm100al612m4hy0i37yh4v";
|
2007-05-13 16:22:24 +02:00
|
|
|
};
|
|
|
|
|
2007-06-28 11:53:12 +02:00
|
|
|
inherit nss ncurses;
|
2007-05-13 16:22:24 +02:00
|
|
|
buildInputs = [
|
2007-08-17 01:14:52 +02:00
|
|
|
gtkspell aspell
|
|
|
|
GStreamer startupnotification
|
2008-09-06 12:30:55 +02:00
|
|
|
libxml2]
|
|
|
|
++ (lib.optional (openssl != null) openssl)
|
|
|
|
++ (lib.optional (gnutls != null) gnutls)
|
|
|
|
++
|
|
|
|
[nss
|
2007-06-28 11:53:12 +02:00
|
|
|
libXScrnSaver ncurses
|
2009-01-28 17:17:32 +01:00
|
|
|
avahi dbus dbus_glib intltool
|
2008-09-06 12:30:55 +02:00
|
|
|
]
|
|
|
|
;
|
2007-08-17 01:14:52 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pkgconfig gtk perl perlXMLParser gettext
|
|
|
|
];
|
|
|
|
|
2008-09-06 20:23:55 +02:00
|
|
|
configureFlags="--with-nspr-includes=${nss}/include/nspr --with-nspr-libs=${nss}/lib --with-nss-includes=${nss}/include/nss --with-nss-libs=${nss}/lib --with-ncurses-headers=${ncurses}/include --disable-meanwhile --disable-nm --disable-tcl"
|
|
|
|
+ (lib.optionalString (gnutls != null) " --enable-gnutls=yes --enable-nss=no")
|
|
|
|
;
|
2007-06-26 13:49:45 +02:00
|
|
|
meta = {
|
|
|
|
description = "Pidgin IM - XMPP(Jabber), AIM/ICQ, IRC, SIP etc client.";
|
2008-01-30 20:49:42 +01:00
|
|
|
homepage = http://pidgin.im;
|
2007-06-26 13:49:45 +02:00
|
|
|
};
|
2007-05-13 16:22:24 +02:00
|
|
|
}
|