2021-01-15 08:07:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, openssl, zlib }:
|
2009-03-03 14:27:40 +01:00
|
|
|
|
2017-02-02 03:48:12 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-07-25 23:53:02 +02:00
|
|
|
pname = "ircd-hybrid";
|
2021-08-09 08:06:35 +02:00
|
|
|
version = "8.2.38";
|
2007-08-08 22:33:36 +02:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2021-07-25 23:53:02 +02:00
|
|
|
url = "mirror://sourceforge/ircd-hybrid/ircd-hybrid-${version}.tgz";
|
2021-08-09 08:06:35 +02:00
|
|
|
sha256 = "sha256-xRA0hzowgjSQtb37Pnw7de1nPtlHAg2FwRMSaKdr+2M=";
|
2007-08-08 22:33:36 +02:00
|
|
|
};
|
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
buildInputs = [ openssl zlib ];
|
2007-08-08 22:33:36 +02:00
|
|
|
|
2018-08-03 18:52:40 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--with-nicklen=100"
|
|
|
|
"--with-topiclen=360"
|
|
|
|
"--enable-openssl=${openssl.dev}"
|
|
|
|
];
|
2007-08-08 22:33:36 +02:00
|
|
|
|
2010-11-11 20:57:46 +01:00
|
|
|
postInstall = "echo postinstall; mkdir -p \${out}/ ; rm -rf \${out}/logs ; ln -s /home/ircd \${out}/logs;";
|
2007-08-08 22:33:36 +02:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "An IPv6-capable IRC server";
|
2021-01-15 08:07:56 +01:00
|
|
|
platforms = lib.platforms.unix;
|
2020-10-23 15:05:17 +02:00
|
|
|
homepage = "https://www.ircd-hybrid.org/";
|
2007-08-08 22:33:36 +02:00
|
|
|
};
|
|
|
|
}
|