blob: 6ea011ab8076addcad5ed87f380a6bd708a369e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, stdenv, fetchurl, openssl, zlib, libxcrypt }:
stdenv.mkDerivation rec {
pname = "ircd-hybrid";
version = "8.2.44";
src = fetchurl {
url = "mirror://sourceforge/ircd-hybrid/ircd-hybrid-${version}.tgz";
sha256 = "sha256-a/DC/1/GQ9wXV6Iyyb1YJdM4kcfMGDfwJK1P/3xhxnk=";
};
buildInputs = [ openssl zlib libxcrypt ];
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 = "IPv6-capable IRC server";
platforms = lib.platforms.unix;
homepage = "https://www.ircd-hybrid.org/";
};
}
|