nixpkgs/pkgs/applications/networking/instant-messengers/psi/default.nix
Eelco Dolstra 7f5b839524 * Removed selectVersion. There's no good reason to write
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'.
* Replaced `with args' with formal function arguments in several
  packages.
* Renamed several files to `default.nix'.  As a general rule, version
  numbers should only be included in the filename when there is a
  reason to keep multiple versions of a package in Nixpkgs.
  Otherwise, it just makes it harder to update the package.

svn path=/nixpkgs/trunk/; revision=18403
2009-11-18 09:39:59 +00:00

26 lines
602 B
Nix

{ stdenv, fetchurl, aspell, qt4, zlib, sox, libX11, xproto, libSM, libICE, qca2 }:
stdenv.mkDerivation rec {
name = "psi-0.12.1";
src = fetchurl {
url = "mirror://sourceforge/psi/${name}.tar.bz2";
sha256 = "0zi71fcia9amcasa6zrvfyghdpqa821iv2rkj53bq5dyvfm2y0m8";
};
buildInputs = [aspell qt4 zlib sox libX11 xproto libSM libICE qca2];
NIX_CFLAGS_COMPILE="-I${qca2}/include/QtCrypto";
NIX_LDFLAGS="-lqca";
configureFlags =
[ " --with-zlib-inc=${zlib}/include "
" --disable-bundled-qca"
];
meta = {
description = "Psi, an XMPP (Jabber) client";
};
}