2010-07-28 15:55:54 +04:00
|
|
|
{ stdenv, fetchurl, openssl, zlib }:
|
2009-03-03 16:27:40 +03:00
|
|
|
|
2008-01-30 20:20:48 +03:00
|
|
|
stdenv.mkDerivation {
|
2007-08-09 00:33:36 +04:00
|
|
|
name = "ircd-hybrid-7.2.2";
|
|
|
|
|
2008-01-30 20:20:48 +03:00
|
|
|
src = fetchurl {
|
2007-08-27 17:01:33 +04:00
|
|
|
url = mirror://sourceforge/ircd-hybrid/ircd-hybrid-7.2.2.tgz;
|
2007-08-09 00:33:36 +04:00
|
|
|
sha256 = "1xn4dfbgx019mhismfnr2idhslvarlajyahj7c6bqzmarcwwrvck";
|
|
|
|
};
|
|
|
|
|
2010-07-28 15:55:54 +04:00
|
|
|
buildInputs = [ openssl zlib ];
|
2007-08-09 00:33:36 +04:00
|
|
|
|
2009-03-03 16:27:40 +03:00
|
|
|
configureFlags =
|
|
|
|
"--with-nicklen=100 --with-topiclen=360 --enable-openssl=${openssl}";
|
2007-08-09 00:33:36 +04:00
|
|
|
|
2010-11-11 22:57:46 +03:00
|
|
|
postInstall = "echo postinstall; mkdir -p \${out}/ ; rm -rf \${out}/logs ; ln -s /home/ircd \${out}/logs;";
|
2007-08-09 00:33:36 +04:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 16:27:40 +03:00
|
|
|
description = "An IPv6-capable IRC server";
|
2007-08-09 00:33:36 +04:00
|
|
|
};
|
|
|
|
}
|