1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/servers/mautrix-telegram/default.nix
2019-03-21 14:57:26 +01:00

43 lines
810 B
Nix

{ lib, python3 }:
with python3.pkgs;
buildPythonPackage rec {
pname = "mautrix-telegram";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "51951845e52c4ca5410e0f4a51d99014dd6df2fcedfca8b7241e045359cbf112";
};
propagatedBuildInputs = [
aiohttp
mautrix-appservice
sqlalchemy
alembic
CommonMark
ruamel_yaml
future-fstrings
python_magic
telethon
telethon-session-sqlalchemy
pillow
lxml
];
checkInputs = [
pytest
pytestrunner
pytest-mock
pytest-asyncio
];
meta = with lib; {
homepage = https://github.com/tulir/mautrix-telegram;
description = "A Matrix-Telegram hybrid puppeting/relaybot bridge";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ nyanloutre ];
};
}