nixpkgs/pkgs/servers/mautrix-telegram/default.nix

43 lines
810 B
Nix
Raw Normal View History

2019-02-20 13:07:37 +00:00
{ lib, python3 }:
2019-01-29 13:46:44 +00:00
with python3.pkgs;
buildPythonPackage rec {
pname = "mautrix-telegram";
2019-03-21 13:57:26 +00:00
version = "0.5.1";
2019-01-29 13:46:44 +00:00
src = fetchPypi {
inherit pname version;
2019-03-21 13:57:26 +00:00
sha256 = "51951845e52c4ca5410e0f4a51d99014dd6df2fcedfca8b7241e045359cbf112";
2019-01-29 13:46:44 +00:00
};
propagatedBuildInputs = [
aiohttp
mautrix-appservice
sqlalchemy
alembic
CommonMark
ruamel_yaml
future-fstrings
python_magic
telethon
telethon-session-sqlalchemy
2019-02-20 13:07:37 +00:00
pillow
lxml
2019-01-29 13:46:44 +00:00
];
2019-02-20 13:07:37 +00:00
checkInputs = [
pytest
pytestrunner
pytest-mock
pytest-asyncio
];
2019-01-29 13:46:44 +00:00
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 ];
};
}