Commit Graph

3 Commits

Author SHA1 Message Date
Frederik Rietdijk
95d4d48e57 calibre-web: don't require singledispatch
which is a Python 2 only package.
2021-04-03 18:08:26 +02:00
Pavel Borzenkov
58ce51ed06 nixos/calibre-web: init module 2021-03-27 14:43:33 +03:00
Pavel Borzenkov
f069cdb0dc calibre-web: init at 0.6.11
There are two patches applied to 'calibre-web' in order to make it more
NixOS friendly:

  - default-logger.patch switches default log output to /dev/stdout, as
    otherwise calibre-web tries to open a file relative to its location,
    which it can't do as the store is read-only. It's not possible to
    pass log file location via command line flags.

  - run-migrations.patch adds an env var __RUN_MIGRATIONS_AND_EXIT that,
    when set, instructs calibre-web to run DB migrations and exit. As
    almost all config parameters are configured via UI in sqlite3 DB,
    this patch allows the DB to be pre-created so it can be updated by
    systemd pre-start script later.  Thus, allowing calibre-web to be
    configured declaratively.
2021-03-21 17:10:12 +03:00