1 { lib, stdenv, fetchurl, fetchpatch, openssl, ncurses, pkg-config, glib, loudmouth, libotr
5 stdenv.mkDerivation rec {
10 url = "https://mcabber.com/files/mcabber-${version}.tar.bz2";
11 sha256 = "0q1i5acyghsmzas88qswvki8kkk2nfpr8zapgnxbcd3lwcxl38f4";
15 # Pull upstream patch for ncurses-6.3.
17 name = "ncurses-6.3.patch";
18 url = "https://github.com/McKael/mcabber/commit/5a0893d69023b77b7671731defbdca5d47731130.patch";
19 sha256 = "01bc23z0mva9l9jv587sq2r9w3diachgkmb9ad99hlzgj02fmq4v";
24 nativeBuildInputs = [ pkg-config ];
25 buildInputs = [ openssl ncurses glib loudmouth libotr gpgme ];
28 "--with-openssl=${openssl.dev}"
36 homepage = "http://mcabber.com/";
37 description = "Small Jabber console client";
38 mainProgram = "mcabber";
39 license = licenses.gpl2;
40 maintainers = with maintainers; [ pSub ];
41 platforms = with platforms; linux;
42 downloadPage = "http://mcabber.com/files/";