2015-01-04 17:55:41 +01:00
|
|
|
{ stdenv, fetchurl, openssl, ncurses, pkgconfig, glib, loudmouth, libotr
|
|
|
|
, gpgme
|
|
|
|
}:
|
2009-01-04 17:11:38 +00:00
|
|
|
|
2014-08-31 00:41:40 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mcabber";
|
2017-07-01 10:02:32 +02:00
|
|
|
version = "1.1.0";
|
2009-01-04 17:11:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://mcabber.com/files/mcabber-${version}.tar.bz2";
|
2017-07-01 10:02:32 +02:00
|
|
|
sha256 = "1ggh865p1rf10ffsnf4g6qv9i8bls36dxdb1nzs5r9vdqci2rz04";
|
2009-01-04 17:11:38 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 17:26:13 -04:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ openssl ncurses glib loudmouth libotr gpgme ];
|
2009-01-04 17:11:38 +00:00
|
|
|
|
2018-07-25 17:44:21 -04:00
|
|
|
configureFlags = [
|
|
|
|
"--with-openssl=${openssl.dev}"
|
|
|
|
"--enable-modules"
|
|
|
|
"--enable-otr"
|
|
|
|
];
|
2015-06-10 09:19:16 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
2016-11-30 08:23:42 -05:00
|
|
|
|
2014-08-31 02:09:21 +02:00
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "http://mcabber.com/";
|
2014-08-31 00:41:40 +02:00
|
|
|
description = "Small Jabber console client";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = with platforms; linux;
|
2016-10-04 13:13:45 +02:00
|
|
|
updateWalker = true;
|
2017-11-11 13:31:04 +01:00
|
|
|
downloadPage = "http://mcabber.com/files/";
|
2016-10-04 13:13:45 +02:00
|
|
|
downloadURLRegexp = "mcabber-[0-9.]+[.]tar[.][a-z0-9]+$";
|
2014-08-31 00:41:40 +02:00
|
|
|
};
|
2009-01-04 17:11:38 +00:00
|
|
|
}
|