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

28 lines
694 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 {
pname = "ircd-hybrid";
2021-08-09 07:06:35 +01:00
version = "8.2.38";
src = fetchurl {
url = "mirror://sourceforge/ircd-hybrid/ircd-hybrid-${version}.tgz";
2021-08-09 07:06:35 +01:00
sha256 = "sha256-xRA0hzowgjSQtb37Pnw7de1nPtlHAg2FwRMSaKdr+2M=";
};
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/";
};
}