nixpkgs/pkgs/applications/networking/instant-messengers/mcabber/default.nix
2016-03-02 22:37:14 +01:00

26 lines
694 B
Nix

{ stdenv, fetchurl, openssl, ncurses, pkgconfig, glib, loudmouth, libotr
, gpgme
}:
stdenv.mkDerivation rec {
name = "mcabber-${version}";
version = "1.0.2";
src = fetchurl {
url = "http://mcabber.com/files/mcabber-${version}.tar.bz2";
sha256 = "1phzfsl6cfzaga140dm8bb8q678j0qsw29cc03rw4vkcxa8kh577";
};
buildInputs = [ openssl ncurses pkgconfig glib loudmouth libotr gpgme ];
configureFlags = "--with-openssl=${openssl} --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 ];
};
}