add default.nix
This commit is contained in:
parent
529e8705c2
commit
f5f2190b40
1 changed files with 21 additions and 0 deletions
21
default.nix
Normal file
21
default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, bash
|
||||
, flex, bison
|
||||
, openssl, gnutls }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "charybdis";
|
||||
version = "3.5.7";
|
||||
|
||||
src = ./.;
|
||||
|
||||
configureFlags = [
|
||||
"--enable-epoll"
|
||||
"--enable-ipv6"
|
||||
"--enable-openssl=${openssl.dev}"
|
||||
"--with-program-prefix=charybdis-"
|
||||
"--sysconfdir=/etc/charybdis"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ bison flex ];
|
||||
buildInputs = [ openssl gnutls ];
|
||||
}
|
Loading…
Reference in a new issue