mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
Add Bitbee-OTR, an unofficial version of Bitlbee with OTR support.
svn path=/nixpkgs/trunk/; revision=12925
This commit is contained in:
parent
9383cd0a48
commit
d495ee42d9
@ -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";
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user