mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
36 lines
912 B
Nix
36 lines
912 B
Nix
{ lib, stdenv, fetchurl, openssl, ncurses, pkg-config, glib, loudmouth, libotr
|
|
, gpgme
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mcabber";
|
|
version = "1.1.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://mcabber.com/files/mcabber-${version}.tar.bz2";
|
|
sha256 = "0q1i5acyghsmzas88qswvki8kkk2nfpr8zapgnxbcd3lwcxl38f4";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ openssl ncurses glib loudmouth libotr gpgme ];
|
|
|
|
configureFlags = [
|
|
"--with-openssl=${openssl.dev}"
|
|
"--enable-modules"
|
|
"--enable-otr"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://mcabber.com/";
|
|
description = "Small Jabber console client";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ pSub ];
|
|
platforms = with platforms; linux;
|
|
updateWalker = true;
|
|
downloadPage = "http://mcabber.com/files/";
|
|
downloadURLRegexp = "mcabber-[0-9.]+[.]tar[.][a-z0-9]+$";
|
|
};
|
|
}
|