mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
35 lines
780 B
Nix
35 lines
780 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.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;
|
|
};
|
|
|
|
}
|