2016-04-12 00:34:28 +00:00
|
|
|
{ stdenv, fetchFromGitHub, bison, flex, openssl }:
|
2015-05-09 18:39:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-12 00:34:28 +00:00
|
|
|
name = "charybdis-3.5.1";
|
2015-05-09 18:39:49 +00:00
|
|
|
|
2016-04-12 00:34:28 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "charybdis-ircd";
|
|
|
|
repo = "charybdis";
|
|
|
|
rev = name;
|
|
|
|
sha256 = "12lwfcgszama7140l1qhmhf1v05csipswrvqzmg8pkaazbag4ka7";
|
2015-05-09 18:39:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./remove-setenv.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-epoll"
|
|
|
|
"--enable-ipv6"
|
2016-04-16 17:44:32 +00:00
|
|
|
"--enable-openssl=${openssl.dev}"
|
2015-05-09 18:39:49 +00:00
|
|
|
"--with-program-prefix=charybdis-"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ bison flex openssl ];
|
|
|
|
|
2016-04-12 00:34:28 +00:00
|
|
|
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;
|
2015-05-09 18:39:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|