aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/networking/instant-messengers/psi/default.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2010-06-09 12:56:15 +0000
committerMichael Raskin <7c6f434c@mail.ru>2010-06-09 12:56:15 +0000
commit62e6ad4960385b05e2472ae9ddc96dba850ed45f (patch)
tree0d610949f0ac0d31a0b63d288c9ce30962696bc0 /pkgs/applications/networking/instant-messengers/psi/default.nix
parente2d26fd6c356eb13b8c658f627fb19102ab0b3bf (diff)
Add OpenSSL and VoIP support to Gajim
svn path=/nixpkgs/trunk/; revision=22194
Diffstat (limited to '')
-rw-r--r--pkgs/applications/networking/instant-messengers/psi/default.nix23
1 files changed, 21 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/psi/default.nix b/pkgs/applications/networking/instant-messengers/psi/default.nix
index 23f27b3caa9d..b0819da4c6e5 100644
--- a/pkgs/applications/networking/instant-messengers/psi/default.nix
+++ b/pkgs/applications/networking/instant-messengers/psi/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchurl, aspell, qt4, zlib, sox, libX11, xproto, libSM, libICE, qca2, pkgconfig }:
+{ stdenv, fetchurl, aspell, qt4, zlib, sox, libX11, xproto, libSM,
+ libICE, qca2, pkgconfig, qca2_ossl, liboil, speex, gst_all }:
stdenv.mkDerivation rec {
name = "psi-0.14";
@@ -8,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1h54a1qryfva187sw9qnb4lv1d3h3lysqgw55v727swvslh4l0da";
};
- buildInputs = [aspell qt4 zlib sox libX11 xproto libSM libICE qca2 pkgconfig];
+ buildInputs = [aspell qt4 zlib sox libX11 xproto libSM libICE
+ qca2 qca2_ossl pkgconfig];
NIX_CFLAGS_COMPILE="-I${qca2}/include/QtCrypto";
@@ -19,7 +21,24 @@ stdenv.mkDerivation rec {
" --disable-bundled-qca"
];
+ psiMedia = (import ./psimedia.nix) {
+ inherit stdenv fetchurl qt4 speex gst_all liboil;
+ };
+
+ postInstall = ''
+ PSI_PLUGINS="$out/lib/psi/plugins"
+ ensureDir "$PSI_PLUGINS"
+ ln -s "${psiMedia}"/share/psi/plugins/*.so "$PSI_PLUGINS"
+ PSI_QT_PLUGINS="$out/share/psi"
+ ensureDir "$PSI_QT_PLUGINS"/crypto
+ ln -s "${qca2_ossl}"/lib/qt4/plugins/crypto/*.so "$PSI_QT_PLUGINS"/crypto
+ '';
+
meta = {
description = "Psi, an XMPP (Jabber) client";
+ maintainers = with stdenv.lib.maintainers;
+ [raskin];
+ platforms = with stdenv.lib.platforms;
+ linux;
};
}