36 lines
812 B
Nix
36 lines
812 B
Nix
{ stdenv, fetchFromGitHub, bison, flex, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "charybdis-3.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "charybdis-ircd";
|
|
repo = "charybdis";
|
|
rev = name;
|
|
sha256 = "12lwfcgszama7140l1qhmhf1v05csipswrvqzmg8pkaazbag4ka7";
|
|
};
|
|
|
|
patches = [
|
|
./remove-setenv.patch
|
|
];
|
|
|
|
configureFlags = [
|
|
"--enable-epoll"
|
|
"--enable-ipv6"
|
|
"--enable-openssl=${openssl}"
|
|
"--with-program-prefix=charybdis-"
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
buildInputs = [ bison flex openssl ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "IRCv3 server designed to be highly scalable";
|
|
homepage = http://www.charybdis.io/;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ lassulus fpletz ];
|
|
platforms = platforms.unix;
|
|
};
|
|
|
|
}
|