nixpkgs/pkgs/applications/networking/instant-messengers/psi/default.nix
2019-01-04 14:38:57 +01:00

32 lines
774 B
Nix

{ stdenv, fetchurl, enchant, qt4, zlib, sox, libX11, xorgproto, libSM
, libICE, qca2, pkgconfig, which, glib
, libXScrnSaver
}:
stdenv.mkDerivation rec {
name = "psi-0.15";
src = fetchurl {
url = "mirror://sourceforge/psi/${name}.tar.bz2";
sha256 = "593b5ddd7934af69c245afb0e7290047fd7dedcfd8765baca5a3a024c569c7e6";
};
buildInputs =
[ enchant qt4 zlib sox libX11 xorgproto libSM libICE
qca2 pkgconfig which glib libXScrnSaver
];
NIX_CFLAGS_COMPILE="-I${qca2}/include/QtCrypto";
NIX_LDFLAGS="-lqca";
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Psi, an XMPP (Jabber) client";
maintainers = [ maintainers.raskin ];
license = licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}