2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "ircd-hybrid";
|
2022-09-14 18:05:37 +00:00
|
|
|
version = "8.2.42";
|
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-14 18:05:37 +00:00
|
|
|
sha256 = "sha256-aS0he/x+o3xOQ5H7hrCpJ4C8MusUT2liM0lyF1W4H2o=";
|
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";
|
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
|
|
|
};
|
|
|
|
}
|