nixpkgs/pkgs
Maximilian Bosch 0a94f89fca
mautrix-telegram: patch away alembic dependency
`alembic`[1] is a database migration tool which is invoked from the CLI
when installing the telegram bridge, but never needed during the
runtime.

The reason why `alembic` is required here is to ensure that it
exists in the Python environment when deploying the bridge. However
`alembic` requires `mautrix-telegram` in its environment to create a
database schema from the Python models.

Such a dependency relation may be possible with tools like virtualenv,
however it'll result in an infinite recursion at evaluation time in Nix.

With this patch, `mautrix-telegram` doesn't depend on `alembic` anymore
and provides a patched alembic (`pkgs.mautrix-telegram.alembic`) which
has `mautrix-telegram` in its path.

[1] https://alembic.sqlalchemy.org/en/latest/
2019-05-24 09:35:39 +02:00
..
applications Merge pull request #57728 from yesbox/resilio_2.6.3 2019-04-13 23:23:45 -04:00
build-support Merge pull request #59338 from matthewbauer/llvm-libc++ 2019-04-12 14:09:00 -04:00
common-updater
data Merge master into staging-next 2019-04-09 16:38:35 +02:00
desktops deepin.deepin-screenshot: search FHS hard coded paths (for debuging) 2019-04-13 20:23:42 -03:00
development mkcert: init at 1.3.0 (#59410) 2019-04-13 19:09:09 -07:00
games Merge pull request #56923 from rnhmjoj/xfix 2019-04-12 11:07:35 +02:00
misc Merge pull request #58504 from symphorien/static-proot 2019-04-13 12:04:32 -04:00
os-specific Merge pull request #59361 from bricewge/2019-04-12-tomb 2019-04-13 02:39:57 +03:00
servers mautrix-telegram: patch away alembic dependency 2019-05-24 09:35:39 +02:00
shells Merge pull request #59200 from yrashk/powershell-6.2.0 2019-04-09 18:47:29 +02:00
stdenv Merge pull request #59338 from matthewbauer/llvm-libc++ 2019-04-12 14:09:00 -04:00
test
tools Merge pull request #59412 from jD91mZM2/cargo-tree 2019-04-13 23:28:51 +03:00
top-level mautrix-telegram: patch away alembic dependency 2019-05-24 09:35:39 +02:00