Add Bitbee-OTR, an unofficial version of Bitlbee with OTR support.

svn path=/nixpkgs/trunk/; revision=12925
This commit is contained in:
Ludovic Courtès 2008-09-26 09:03:22 +00:00
parent 9383cd0a48
commit d495ee42d9
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ stdenv, fetchbzr, gnutls, glib, pkgconfig, libotr
, libxslt, xmlto, docbook_xsl, docbook_xml_dtd_42, perl }:
let revision = "369"; in
stdenv.mkDerivation rec {
name = "bitlbee-otr-r${revision}";
src = fetchbzr {
url = "http://khjk.org/~pesco/bitlbee-otr";
sha256 = "0fb7987ec4a321e07f22690ed6617db9f377fdf4e65a531d8da28a950817074f";
inherit revision;
};
patchPhase = ''
sed -i "configure" -e "s|-f \$""{i}/lib/libotr.a|0 -eq 0|g ;
s|otrprefix=\$""{i}|otrprefix=\"${libotr}\"|g";
'';
buildInputs = [ gnutls glib pkgconfig libotr
libxslt xmlto docbook_xsl docbook_xml_dtd_42 perl
];
meta = {
description = ''BitlBee, an IRC to other chat networks gateway.'';
longDescription = ''
This unofficial version adds support for communication encryption
and authentication via the OTR (off-the-record) library.
'';
# See also http://bugs.bitlbee.org/bitlbee/ticket/115 .
homepage = http://khjk.org/bitlbee-otr/;
license = "GPL";
};
}

View File

@ -5854,6 +5854,12 @@ let
inherit (gtkLibs) glib;
};
bitlbeeOtr = import ../applications/networking/instant-messengers/bitlbee-otr {
inherit fetchbzr stdenv gnutls pkgconfig libotr
libxslt xmlto docbook_xsl docbook_xml_dtd_42 perl;
inherit (gtkLibs) glib;
};
# commented out because it's using the new configuration style proposal which is unstable
#biew = import ../applications/misc/biew {
# inherit lib stdenv fetchurl ncurses;