2016-04-12 02:34:28 +02:00
|
|
|
{ stdenv, fetchFromGitHub, bison, flex, openssl }:
|
2015-05-09 20:39:49 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-06-20 01:57:55 +02:00
|
|
|
name = "charybdis-3.5.5";
|
2015-05-09 20:39:49 +02:00
|
|
|
|
2016-04-12 02:34:28 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "charybdis-ircd";
|
|
|
|
repo = "charybdis";
|
|
|
|
rev = name;
|
2017-06-20 01:57:55 +02:00
|
|
|
sha256 = "16bl516hcj1chgzkfnpg9bf9s6zr314pqzhlz6641lgyzaw1z3w0";
|
2015-05-09 20:39:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./remove-setenv.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-epoll"
|
|
|
|
"--enable-ipv6"
|
2016-04-16 19:44:32 +02:00
|
|
|
"--enable-openssl=${openssl.dev}"
|
2015-05-09 20:39:49 +02:00
|
|
|
"--with-program-prefix=charybdis-"
|
2017-05-25 23:28:50 +02:00
|
|
|
"--sysconfdir=/etc/charybdis"
|
2015-05-09 20:39:49 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ bison flex openssl ];
|
|
|
|
|
2016-04-12 02:34:28 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "IRCv3 server designed to be highly scalable";
|
2017-08-18 00:01:30 +02:00
|
|
|
homepage = http://atheme.org/projects/charybdis.html;
|
2016-04-12 02:34:28 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ lassulus fpletz ];
|
|
|
|
platforms = platforms.unix;
|
2015-05-09 20:39:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|