indico: wip: add LDAP support
Signed-off-by: Jeltz <jeltz@federez.net>
This commit is contained in:
parent
0a8ae58334
commit
dd2afc2cfb
2 changed files with 143 additions and 29 deletions
|
@ -69,7 +69,6 @@ python.pkgs.buildPythonApplication rec {
|
|||
INDICO_NO_GIT = "true";
|
||||
INDICO_MAP_VERSION = src.outputHash;
|
||||
|
||||
# TODO bin/maintenance/build-{wheel,assets}.py
|
||||
build-system = [
|
||||
python.pkgs.hatchling
|
||||
python.pkgs.hatch-requirements-txt
|
||||
|
@ -97,7 +96,7 @@ python.pkgs.buildPythonApplication rec {
|
|||
# FIXME *why* is it required?
|
||||
makeCacheWritable = true;
|
||||
|
||||
npmFlags = [ "--verbose" ];
|
||||
# npmFlags = [ "--verbose" ];
|
||||
|
||||
patches = [
|
||||
./remove_marshmallow_enum.patch
|
||||
|
@ -137,11 +136,9 @@ python.pkgs.buildPythonApplication rec {
|
|||
# TODO TODO ./bin/maintenance/build-assets.py
|
||||
'';
|
||||
|
||||
# TODO build-assets.py
|
||||
# build_urls_map.py tries to import indico.web.flask.app
|
||||
# which has not been installed yet at this stage
|
||||
preBuild = ''
|
||||
ls -lah
|
||||
PYTHONPATH="$(pwd):$PYTHONPATH" ${lib.getExe python} bin/maintenance/build-assets.py indico --clean
|
||||
'';
|
||||
|
||||
|
@ -233,9 +230,9 @@ python.pkgs.buildPythonApplication rec {
|
|||
++ sentry-sdk_1.optional-dependencies.pure_eval
|
||||
++ wtforms.optional-dependencies.email;
|
||||
|
||||
# passthru = {
|
||||
# inherit python;
|
||||
# };
|
||||
optional-dependencies = {
|
||||
ldap = [ python.pkgs.python-ldap ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Full-featured conferency lifecycle management and meeting/lecture scheduling tool";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue