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

28 lines
694 B
Nix
Raw Normal View History

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