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