nixpkgs-suyu/pkgs/servers/irc/charybdis/default.nix
Franz Pletz 5f6557d437
charybdis: 3.5.1 -> 3.5.3 (security)
Fixes CVE-2016-7143 (certificate fingerprint spoofing through crafted
SASL messages).
2016-09-07 08:12:02 +02:00

34 lines
780 B
Nix

{ stdenv, fetchFromGitHub, bison, flex, openssl }:
stdenv.mkDerivation rec {
name = "charybdis-3.5.3";
src = fetchFromGitHub {
owner = "charybdis-ircd";
repo = "charybdis";
rev = name;
sha256 = "1s8p26lrc5vm08gi6hc5gqidgyj7v5bzm4d2g81v4xk387f85lnc";
};
patches = [
./remove-setenv.patch
];
configureFlags = [
"--enable-epoll"
"--enable-ipv6"
"--enable-openssl=${openssl.dev}"
"--with-program-prefix=charybdis-"
];
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;
};
}