forked from mirrors/nixpkgs
083d0890f5
* Remove package name * Start with upper case letter * Remove trailing period Also reword some descriptions and move some long descriptions to longDescription. I'm not touching generated packages.
59 lines
1.7 KiB
Nix
59 lines
1.7 KiB
Nix
/**
|
|
* 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
|
|
*/
|
|
{ stdenv, fetchurl, pkgconfig, gtk, gtkspell, aspell,
|
|
gstreamer, gst_plugins_base, startupnotification, gettext,
|
|
perl, perlXMLParser, libxml2, nss, nspr, farsight2,
|
|
libXScrnSaver, ncurses, avahi, dbus, dbus_glib, intltool, libidn
|
|
, lib, python
|
|
, openssl ? null
|
|
, gnutls ? null
|
|
, libgcrypt ? null
|
|
} :
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pidgin-2.10.7";
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/pidgin/${name}.tar.bz2";
|
|
sha256 = "14piyx4xpc3l8286x4nh5pna2wfyn9cv0qa29br1q3d2xja2k8zb";
|
|
};
|
|
|
|
inherit nss ncurses;
|
|
buildInputs = [
|
|
gtkspell aspell
|
|
gstreamer gst_plugins_base startupnotification
|
|
libxml2]
|
|
++ (lib.optional (openssl != null) openssl)
|
|
++ (lib.optional (gnutls != null) gnutls)
|
|
++ (lib.optional (libgcrypt != null) libgcrypt)
|
|
++
|
|
[nss nspr farsight2
|
|
libXScrnSaver ncurses python
|
|
avahi dbus dbus_glib intltool libidn
|
|
]
|
|
;
|
|
|
|
propagatedBuildInputs = [
|
|
pkgconfig gtk perl perlXMLParser gettext
|
|
];
|
|
|
|
patches = [./pidgin-makefile.patch ];
|
|
|
|
configureFlags="--with-nspr-includes=${nspr}/include/nspr --with-nspr-libs=${nspr}/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")
|
|
;
|
|
meta = {
|
|
description = "Pidgin IM - XMPP(Jabber), AIM/ICQ, IRC, SIP etc client";
|
|
homepage = http://pidgin.im;
|
|
};
|
|
}
|