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