summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/psi/default.nix
blob: 0db1af883cb8001b3ebff28a9d0b0d733b2c614c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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";
  };
}