2010-07-28 15:55:54 +04:00
|
|
|
{ stdenv, fetchurl, openssl, zlib }:
|
2009-03-03 16:27:40 +03:00
|
|
|
|
2017-02-02 05:48:12 +03:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ircd-hybrid-8.2.21";
|
2007-08-09 00:33:36 +04:00
|
|
|
|
2008-01-30 20:20:48 +03:00
|
|
|
src = fetchurl {
|
2017-02-02 05:48:12 +03:00
|
|
|
url = "mirror://sourceforge/ircd-hybrid/${name}.tgz";
|
|
|
|
sha256 = "19cgrgmmz1c72x4gxpd39f9ckm4j9cp1gpgvlkk73d3v13znfzy3";
|
2007-08-09 00:33:36 +04:00
|
|
|
};
|
|
|
|
|
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 =
|
2016-04-16 20:44:32 +03:00
|
|
|
"--with-nicklen=100 --with-topiclen=360 --enable-openssl=${openssl.dev}";
|
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";
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2017-08-01 23:03:30 +03:00
|
|
|
homepage = http://www.ircd-hybrid.org/;
|
2007-08-09 00:33:36 +04:00
|
|
|
};
|
|
|
|
}
|