1{ lib, buildPythonPackage, fetchPypi, aiohttp, future-fstrings, pythonOlder
2, sqlalchemy, ruamel_yaml, CommonMark, lxml, fetchpatch
3}:
4
5buildPythonPackage rec {
6 pname = "mautrix";
7 version = "0.5.8";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "1hqg32n7pmjhap0ybfcf05zgfcyyirb4fm1m7gf44dwh40da6qz0";
12 };
13
14 propagatedBuildInputs = [
15 aiohttp
16 future-fstrings
17
18 # defined in optional-requirements.txt
19 sqlalchemy
20 ruamel_yaml
21 CommonMark
22 lxml
23 ];
24
25 disabled = pythonOlder "3.5";
26
27 # no tests available
28 doCheck = false;
29
30 meta = with lib; {
31 homepage = "https://github.com/tulir/mautrix-python";
32 description = "A Python 3 asyncio Matrix framework.";
33 license = licenses.mpl20;
34 maintainers = with maintainers; [ nyanloutre ma27 ];
35 };
36}