2020-07-28 21:04:01 +00:00
|
|
|
{ stdenv, bash
|
|
|
|
, flex, bison
|
2020-07-30 11:27:10 +00:00
|
|
|
, openssl, gnutls, zlib }:
|
2020-07-28 21:04:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "charybdis";
|
|
|
|
version = "3.5.7";
|
|
|
|
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-epoll"
|
|
|
|
"--enable-ipv6"
|
2020-07-30 11:27:10 +00:00
|
|
|
"--with-zlib-path=${zlib.dev}/lib"
|
2020-07-28 21:04:01 +00:00
|
|
|
"--enable-openssl=${openssl.dev}"
|
|
|
|
"--with-program-prefix=charybdis-"
|
|
|
|
"--sysconfdir=/etc/charybdis"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ bison flex ];
|
2020-07-30 11:27:10 +00:00
|
|
|
buildInputs = [ openssl gnutls zlib ];
|
2020-07-28 21:04:01 +00:00
|
|
|
}
|