nixpkgs/pkgs/servers/irc/ircd-hybrid/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
715 B
Nix
Raw Normal View History

2022-09-29 15:06:42 +00:00
{ lib, stdenv, fetchurl, openssl, zlib, libxcrypt }:
2017-02-02 02:48:12 +00:00
stdenv.mkDerivation rec {
pname = "ircd-hybrid";
2022-09-28 19:27:23 +00:00
version = "8.2.43";
src = fetchurl {
url = "mirror://sourceforge/ircd-hybrid/ircd-hybrid-${version}.tgz";
2022-09-28 19:27:23 +00:00
sha256 = "sha256-vQNzx4DjCMGm9piQFf8o4cIpme92S3toY2tihXPCUe8=";
};
2022-09-29 15:06:42 +00:00
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 = "An IPv6-capable IRC server";
2021-01-15 07:07:56 +00:00
platforms = lib.platforms.unix;
homepage = "https://www.ircd-hybrid.org/";
};
}