3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/irc/ircd-hybrid/default.nix

27 lines
664 B
Nix
Raw Normal View History

2021-01-15 07:07:56 +00:00
{ lib, stdenv, fetchurl, openssl, zlib }:
2017-02-02 02:48:12 +00:00
stdenv.mkDerivation rec {
2020-12-09 03:05:48 +00:00
name = "ircd-hybrid-8.2.36";
src = fetchurl {
2017-02-02 02:48:12 +00:00
url = "mirror://sourceforge/ircd-hybrid/${name}.tgz";
2020-12-09 03:05:48 +00:00
sha256 = "0sg4g0znl8ic8vklpy96z88gjksc165kl945a6fr1j4xc1bf8gcv";
};
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 07:07:56 +00:00
platforms = lib.platforms.unix;
homepage = "https://www.ircd-hybrid.org/";
};
}