mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
34 lines
776 B
Nix
34 lines
776 B
Nix
{ stdenv, fetchFromGitHub, bison, flex, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "charybdis-3.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "charybdis-ircd";
|
|
repo = "charybdis";
|
|
rev = name;
|
|
sha256 = "12lwfcgszama7140l1qhmhf1v05csipswrvqzmg8pkaazbag4ka7";
|
|
};
|
|
|
|
patches = [
|
|
./remove-setenv.patch
|
|
];
|
|
|
|
configureFlags = [
|
|
"--enable-epoll"
|
|
"--enable-ipv6"
|
|
"--enable-openssl=${openssl}"
|
|
"--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;
|
|
};
|
|
|
|
}
|