2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, openssl, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-11-30 08:33:03 +00:00
|
|
|
name = "ircd-hybrid-8.2.35";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/ircd-hybrid/${name}.tgz";
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "045wd3wa4i1hl7i4faksaj8l5r70ld55bggryaf1ml28ijwjwpca";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl zlib ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-nicklen=100"
|
|
|
|
"--with-topiclen=360"
|
|
|
|
"--enable-openssl=${openssl.dev}"
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = "echo postinstall; mkdir -p \${out}/ ; rm -rf \${out}/logs ; ln -s /home/ircd \${out}/logs;";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An IPv6-capable IRC server";
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2020-11-30 08:33:03 +00:00
|
|
|
homepage = "https://www.ircd-hybrid.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|