stockholm/krebs/5pkgs/charybdis/default.nix

35 lines
900 B
Nix
Raw Normal View History

{ stdenv, fetchgit, bison, flex, openssl }:
stdenv.mkDerivation rec {
name = "charybdis-3.5.0-rc1";
src = fetchgit {
url = "https://github.com/atheme/charybdis.git";
2015-07-19 20:41:35 +00:00
rev = "61815bf9324e872f51255e09fe37a8c595f94a60";
2016-10-06 17:16:42 +00:00
sha256 = "1q9h7j2pm1wsbcybmm7r7hzimp1zda04lw9x2akb26l9p12zgfgc";
};
patches = [
2015-07-19 20:41:35 +00:00
./remove-setenv.patch
];
configureFlags = [
"--enable-epoll"
"--enable-ipv6"
"--enable-openssl=${openssl}"
2015-07-19 20:41:35 +00:00
"--enable-small-net"
"--with-program-prefix=charybdis-"
2015-07-19 20:41:35 +00:00
"--sysconfdir=/tmp"
];
buildInputs = [ bison flex openssl ];
meta = {
description = "An extremely scalable ircd with some cooperation with the ratbox and ircu guys";
homepage = https://github.com/atheme/charybdis;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.lassulus ];
platforms = stdenv.lib.platforms.linux;
};
}