5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
27 lines
694 B
Nix
27 lines
694 B
Nix
{ lib, stdenv, fetchurl, openssl, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ircd-hybrid";
|
|
version = "8.2.43";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/ircd-hybrid/ircd-hybrid-${version}.tgz";
|
|
sha256 = "sha256-vQNzx4DjCMGm9piQFf8o4cIpme92S3toY2tihXPCUe8=";
|
|
};
|
|
|
|
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 = lib.platforms.unix;
|
|
homepage = "https://www.ircd-hybrid.org/";
|
|
};
|
|
}
|