2010-02-22 09:53:17 +00:00
|
|
|
{ stdenv, fetchurl, aspell, qt4, zlib, sox, libX11, xproto, libSM, libICE, qca2, pkgconfig }:
|
2009-11-18 09:39:59 +00:00
|
|
|
|
2009-06-03 18:23:49 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-02-22 09:53:17 +00:00
|
|
|
name = "psi-0.14";
|
2009-11-18 09:39:59 +00:00
|
|
|
|
2009-06-03 18:23:49 +00:00
|
|
|
src = fetchurl {
|
2009-11-18 09:39:59 +00:00
|
|
|
url = "mirror://sourceforge/psi/${name}.tar.bz2";
|
2010-02-22 09:53:17 +00:00
|
|
|
sha256 = "1h54a1qryfva187sw9qnb4lv1d3h3lysqgw55v727swvslh4l0da";
|
2009-06-03 18:23:49 +00:00
|
|
|
};
|
|
|
|
|
2010-02-22 09:53:17 +00:00
|
|
|
buildInputs = [aspell qt4 zlib sox libX11 xproto libSM libICE qca2 pkgconfig];
|
2009-06-03 18:23:49 +00:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE="-I${qca2}/include/QtCrypto";
|
2009-11-18 09:39:59 +00:00
|
|
|
|
2009-06-03 18:39:32 +00:00
|
|
|
NIX_LDFLAGS="-lqca";
|
2009-06-03 18:23:49 +00:00
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
configureFlags =
|
|
|
|
[ " --with-zlib-inc=${zlib}/include "
|
|
|
|
" --disable-bundled-qca"
|
|
|
|
];
|
2009-06-03 18:23:49 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Psi, an XMPP (Jabber) client";
|
|
|
|
};
|
|
|
|
}
|