depot/third_party/nixpkgs/pkgs/servers/irc/ircd-hybrid/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
712 B
Nix

{ lib, stdenv, fetchurl, openssl, zlib, libxcrypt }:
stdenv.mkDerivation rec {
pname = "ircd-hybrid";
version = "8.2.43";
src = fetchurl {
url = "mirror://sourceforge/ircd-hybrid/ircd-hybrid-${version}.tgz";
sha256 = "sha256-vQNzx4DjCMGm9piQFf8o4cIpme92S3toY2tihXPCUe8=";
};
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/";
};
}