b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
27 lines
694 B
Nix
27 lines
694 B
Nix
{ lib, stdenv, fetchurl, openssl, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ircd-hybrid";
|
|
version = "8.2.41";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/ircd-hybrid/ircd-hybrid-${version}.tgz";
|
|
sha256 = "sha256-zg6mllRgEEe9hkI93AAjwHlVcCSZkAEeqmxB1jcrBFQ=";
|
|
};
|
|
|
|
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/";
|
|
};
|
|
}
|