mautrix-telegram: add inputs for E2BE support (#132979)
https://docs.mau.fi/bridges/general/end-to-bridge-encryption.html (cherry picked from commit f1d1ed4f0221d89d5e221c26114a14fe138e8982)
This commit is contained in:
parent
6ae8e459f5
commit
3a5ff18d64
@ -1,4 +1,6 @@
|
|||||||
{ lib, python3, mautrix-telegram, fetchFromGitHub }:
|
{ lib, python3, mautrix-telegram, fetchFromGitHub
|
||||||
|
, withE2BE ? true
|
||||||
|
}:
|
||||||
|
|
||||||
with python3.pkgs;
|
with python3.pkgs;
|
||||||
|
|
||||||
@ -39,6 +41,11 @@ in buildPythonPackage rec {
|
|||||||
pillow
|
pillow
|
||||||
lxml
|
lxml
|
||||||
setuptools
|
setuptools
|
||||||
|
] ++ lib.optionals withE2BE [
|
||||||
|
asyncpg
|
||||||
|
python-olm
|
||||||
|
pycryptodome
|
||||||
|
unpaddedbase64
|
||||||
] ++ dbDrivers;
|
] ++ dbDrivers;
|
||||||
|
|
||||||
# `alembic` (a database migration tool) is only needed for the initial setup,
|
# `alembic` (a database migration tool) is only needed for the initial setup,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user