nixpkgs/pkgs/applications/networking/instant-messengers/mcabber/default.nix
2016-11-30 08:23:42 -05:00

30 lines
822 B
Nix

{ stdenv, fetchurl, openssl, ncurses, pkgconfig, glib, loudmouth, libotr
, gpgme
}:
stdenv.mkDerivation rec {
name = "mcabber-${version}";
version = "1.0.4";
src = fetchurl {
url = "http://mcabber.com/files/mcabber-${version}.tar.bz2";
sha256 = "02nfn5r7cjpnacym95l6bvczii232v3x2gi79gfa9syc7w0brdk3";
};
buildInputs = [ openssl ncurses pkgconfig glib loudmouth libotr gpgme ];
configureFlags = "--with-openssl=${openssl.dev} --enable-modules --enable-otr";
doCheck = true;
meta = with stdenv.lib; {
homepage = http://mcabber.com/;
description = "Small Jabber console client";
license = licenses.gpl2;
maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux;
updateWalker = true;
downloadURLRegexp = "mcabber-[0-9.]+[.]tar[.][a-z0-9]+$";
};
}