2009-11-17 17:54:04 +01:00
|
|
|
{stdenv, fetchurl, expat, erlang, zlib, openssl, pam, lib}:
|
2008-01-23 19:11:03 +01:00
|
|
|
|
2009-05-19 19:08:10 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2012-01-26 14:57:57 +01:00
|
|
|
version = "2.1.10";
|
|
|
|
name = "ejabberd-2.1.10";
|
2009-11-17 17:54:04 +01:00
|
|
|
src = fetchurl {
|
2012-01-26 14:57:57 +01:00
|
|
|
url = http://www.process-one.net/downloads/ejabberd/2.1.10/ejabberd-2.1.10.tar.gz;
|
|
|
|
sha256 = "1gijv6d90w9fq0as2l0mp0fn65jihgd86nxry98pv6liks4fbhlx";
|
2008-01-23 19:11:03 +01:00
|
|
|
};
|
2009-04-13 11:36:07 +02:00
|
|
|
buildInputs = [ expat erlang zlib openssl pam ];
|
2008-09-22 16:07:25 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e "s|erl \\\|${erlang}/bin/erl \\\|" src/ejabberdctl.template
|
|
|
|
'';
|
|
|
|
preConfigure = ''
|
|
|
|
cd src
|
|
|
|
'';
|
2009-04-13 11:36:07 +02:00
|
|
|
configureFlags = ["--enable-pam"];
|
2008-09-22 16:07:25 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Open-source XMPP application server written in Erlang";
|
|
|
|
license = "GPLv2";
|
|
|
|
homepage = http://www.ejabberd.im;
|
2009-11-17 17:54:04 +01:00
|
|
|
maintainers = [ lib.maintainers.sander ];
|
2008-09-22 16:07:25 +02:00
|
|
|
};
|
2008-01-23 19:11:03 +01:00
|
|
|
}
|