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