3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/mcabber/default.nix

36 lines
920 B
Nix
Raw Normal View History

{ stdenv, fetchurl, openssl, ncurses, pkgconfig, glib, loudmouth, libotr
, gpgme
}:
stdenv.mkDerivation rec {
name = "mcabber-${version}";
2017-07-01 09:02:32 +01:00
version = "1.1.0";
src = fetchurl {
url = "https://mcabber.com/files/mcabber-${version}.tar.bz2";
2017-07-01 09:02:32 +01:00
sha256 = "1ggh865p1rf10ffsnf4g6qv9i8bls36dxdb1nzs5r9vdqci2rz04";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ncurses glib loudmouth libotr gpgme ];
2018-07-25 22:44:21 +01:00
configureFlags = [
"--with-openssl=${openssl.dev}"
"--enable-modules"
"--enable-otr"
];
2015-06-10 08:19:16 +01:00
doCheck = true;
2014-08-31 01:09:21 +01:00
meta = with stdenv.lib; {
homepage = http://mcabber.com/;
description = "Small Jabber console client";
license = licenses.gpl2;
maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux;
2016-10-04 12:13:45 +01:00
updateWalker = true;
downloadPage = "http://mcabber.com/files/";
2016-10-04 12:13:45 +01:00
downloadURLRegexp = "mcabber-[0-9.]+[.]tar[.][a-z0-9]+$";
};
}