5be852be9f
Changes include: * 16 colour support * UI preferences included in themes (http://www.profanity.im/themes.html) * Roster panel in console window * Word wrapping * Configure time display in main window * Set default account for /connect * Contact presence and resource displayed in titlebar * Ability to override resource when sending messages * Chat session handling in line with http://xmpp.org/rfcs/rfc6121.html#message-chat * Lower CPU usage during periods of inactivity * Keychain/keyring integration using account eval_password property * Fixed remote code execution bug on OSX when desktop notifications configured to show message text Most new UI features are enabled by default but can be disabled with the relevant preference command.
41 lines
1.2 KiB
Nix
41 lines
1.2 KiB
Nix
{ stdenv, fetchurl, automake, autoconf, pkgconfig, glib, openssl, expat
|
|
, ncurses, libotr, curl, libstrophe
|
|
|
|
, autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null
|
|
, notifySupport ? false, libnotify ? null, gdk_pixbuf ? null
|
|
}:
|
|
|
|
assert autoAwaySupport -> libXScrnSaver != null && libX11 != null;
|
|
assert notifySupport -> libnotify != null && gdk_pixbuf != null;
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "profanity-${version}";
|
|
version = "0.4.6";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.profanity.im/profanity-${version}.tar.gz";
|
|
sha256 = "17ra53c1m0w0lzm5bj63y1ysx8bv119z5h0csisxsn4r85z6cwln";
|
|
};
|
|
|
|
buildInputs = [
|
|
automake autoconf pkgconfig
|
|
glib openssl expat ncurses libotr curl libstrophe
|
|
] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ]
|
|
++ optionals notifySupport [ libnotify gdk_pixbuf ];
|
|
|
|
preConfigure = "sh bootstrap.sh";
|
|
|
|
meta = {
|
|
description = "A console based XMPP client";
|
|
longDescription = ''
|
|
Profanity is a console based XMPP client written in C using ncurses and
|
|
libstrophe, inspired by Irssi.
|
|
'';
|
|
homepage = http://profanity.im/;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.devhell ];
|
|
};
|
|
}
|