indico: wip: add LDAP support

Signed-off-by: Jeltz <jeltz@federez.net>
This commit is contained in:
jeltz 2025-02-22 12:47:58 +01:00
parent 0a8ae58334
commit dd2afc2cfb
Signed by: jeltz
GPG key ID: 800882B66C0C3326
2 changed files with 143 additions and 29 deletions

View file

@ -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";