asterisk: add sub-package with ldap support
This commit is contained in:
parent
8f1e87b4f4
commit
3266f88f3d
@ -6,6 +6,7 @@
|
||||
autoconf, libtool, automake, fetchpatch,
|
||||
python39, writeScript,
|
||||
withOpus ? true,
|
||||
ldapSupport ? false, openldap
|
||||
}:
|
||||
|
||||
let
|
||||
@ -29,13 +30,16 @@ let
|
||||
];
|
||||
common = {version, sha256, externals}: stdenv.mkDerivation {
|
||||
inherit version;
|
||||
pname = "asterisk";
|
||||
pname = "asterisk"
|
||||
+ lib.optionalString ldapSupport "-ldap";
|
||||
|
||||
|
||||
buildInputs = [ jansson libedit libxml2 libxslt ncurses openssl sqlite
|
||||
dmidecode libuuid newt
|
||||
lua speex
|
||||
srtp wget curl iksemel ]
|
||||
++ lib.optionals withOpus [ libopus opusfile libogg ];
|
||||
++ lib.optionals withOpus [ libopus opusfile libogg ]
|
||||
++ lib.optionals ldapSupport [ openldap ];
|
||||
nativeBuildInputs = [ util-linux pkg-config autoconf libtool automake ];
|
||||
|
||||
patches = [
|
||||
|
@ -24550,6 +24550,8 @@ with pkgs;
|
||||
|
||||
asterisk-module-sccp = callPackage ../servers/asterisk/sccp { };
|
||||
|
||||
asterisk-ldap = lowPrio (asterisk.override { ldapSupport = true; });
|
||||
|
||||
sabnzbd = callPackage ../servers/sabnzbd { };
|
||||
|
||||
baserow = callPackage ../servers/baserow { };
|
||||
|
Loading…
Reference in New Issue
Block a user