This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/matrix/mautrix-telegram.nix

38 lines
920 B
Nix
Raw Normal View History

{
inputs,
pkgs,
}:
with pkgs; let
python-packages = import ../python/packages.nix {inherit inputs pkgs;};
in {
mautrix-telegram = with python3Packages;
buildPythonPackage {
pname = "mautrix-telegram";
version = inputs.mautrix-telegram.lastModifiedDate;
src = inputs.mautrix-telegram;
2022-08-17 09:10:23 +00:00
patches = ["${inputs.nixpkgs}/pkgs/servers/mautrix-telegram/0001-Re-add-entrypoint.patch" ./mautrix-telegram-sticker.patch];
propagatedBuildInputs = [
Mako
aiohttp
python-packages.mautrix
sqlalchemy
CommonMark
ruamel-yaml
python-magic
python-packages.tulir-telethon
telethon-session-sqlalchemy
pillow
lxml
setuptools
prometheus-client
asyncpg
python-olm
pycryptodome
unpaddedbase64
psycopg2
aiosqlite
];
doCheck = false;
};
}