2022-10-30 15:09:59 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl, zlib, libxcrypt }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "ircd-hybrid";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "8.2.43";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "mirror://sourceforge/ircd-hybrid/ircd-hybrid-${version}.tgz";
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-vQNzx4DjCMGm9piQFf8o4cIpme92S3toY2tihXPCUe8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
buildInputs = [ openssl zlib libxcrypt ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = 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
|
|
|
};
|
|
|
|
}
|