2021-01-15 07:07:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl, zlib }:
|
2009-03-03 13:27:40 +00:00
|
|
|
|
2017-02-02 02:48:12 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-07-25 22:53:02 +01:00
|
|
|
pname = "ircd-hybrid";
|
2021-12-10 14:06:55 +00:00
|
|
|
version = "8.2.39";
|
2007-08-08 21:33:36 +01:00
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
src = fetchurl {
|
2021-07-25 22:53:02 +01:00
|
|
|
url = "mirror://sourceforge/ircd-hybrid/ircd-hybrid-${version}.tgz";
|
2021-12-10 14:06:55 +00:00
|
|
|
sha256 = "sha256-A10nH2sN1FEVf4AUbRibwcm4TMm6G3rQb9cu5RCObk0=";
|
2007-08-08 21:33:36 +01:00
|
|
|
};
|
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
buildInputs = [ openssl zlib ];
|
2007-08-08 21:33:36 +01:00
|
|
|
|
2018-08-03 17:52:40 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--with-nicklen=100"
|
|
|
|
"--with-topiclen=360"
|
|
|
|
"--enable-openssl=${openssl.dev}"
|
|
|
|
];
|
2007-08-08 21:33:36 +01:00
|
|
|
|
2010-11-11 19:57:46 +00:00
|
|
|
postInstall = "echo postinstall; mkdir -p \${out}/ ; rm -rf \${out}/logs ; ln -s /home/ircd \${out}/logs;";
|
2007-08-08 21:33:36 +01:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "An IPv6-capable IRC server";
|
2021-01-15 07:07:56 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-10-23 14:05:17 +01:00
|
|
|
homepage = "https://www.ircd-hybrid.org/";
|
2007-08-08 21:33:36 +01:00
|
|
|
};
|
|
|
|
}
|