2015-01-04 17:55:41 +01:00
|
|
|
{ stdenv, fetchurl, openssl, ncurses, pkgconfig, glib, loudmouth, libotr
|
|
|
|
, gpgme
|
|
|
|
}:
|
2009-01-04 18:11:38 +01:00
|
|
|
|
2014-08-31 00:41:40 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mcabber-${version}";
|
2015-07-03 10:18:04 +02:00
|
|
|
version = "1.0.0";
|
2009-01-04 18:11:38 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-31 00:41:40 +02:00
|
|
|
url = "http://mcabber.com/files/mcabber-${version}.tar.bz2";
|
2015-07-03 10:18:04 +02:00
|
|
|
sha256 = "0ckh2l5fbnykzbvdrqjwd1ppalaifb79nnizh8kra2sy76xbqxjl";
|
2009-01-04 18:11:38 +01:00
|
|
|
};
|
|
|
|
|
2015-01-04 17:55:41 +01:00
|
|
|
buildInputs = [ openssl ncurses pkgconfig glib loudmouth libotr gpgme ];
|
2009-01-04 18:11:38 +01:00
|
|
|
|
2014-11-21 20:29:19 +01:00
|
|
|
configureFlags = "--with-openssl=${openssl} --enable-modules --enable-otr";
|
2015-06-10 09:19:16 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
2014-08-31 00:41:40 +02:00
|
|
|
|
2014-08-31 02:09:21 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-31 00:41:40 +02:00
|
|
|
homepage = http://mcabber.com/;
|
|
|
|
description = "Small Jabber console client";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
2009-01-04 18:11:38 +01:00
|
|
|
}
|