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}";
|
2017-02-02 10:10:05 +00:00
|
|
|
version = "1.0.5";
|
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";
|
2017-02-02 10:10:05 +00:00
|
|
|
sha256 = "0ixdzk5b3s31a4bdfqgqrsiq7vbgdzhqr49p9pz9cq9bgn0h1wm0";
|
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
|
|
|
|
2016-04-16 18:44:32 +01:00
|
|
|
configureFlags = "--with-openssl=${openssl.dev} --enable-modules --enable-otr";
|
2015-06-10 08:19:16 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
2016-11-30 13:23:42 +00: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 ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; linux;
|
2016-10-04 12:13:45 +01:00
|
|
|
updateWalker = true;
|
|
|
|
downloadURLRegexp = "mcabber-[0-9.]+[.]tar[.][a-z0-9]+$";
|
2014-08-30 23:41:40 +01:00
|
|
|
};
|
2009-01-04 17:11:38 +00:00
|
|
|
}
|