2020-11-30 08:33:03 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, aiohttp, pythonOlder
|
2021-12-24 04:21:11 +00:00
|
|
|
, sqlalchemy, ruamel-yaml, CommonMark, lxml, aiosqlite
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mautrix";
|
2022-01-07 04:07:37 +00:00
|
|
|
version = "0.14.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-07 04:07:37 +00:00
|
|
|
sha256 = "a7b41b522deafe47f8d3ce2b13f5a8a01f7bc715f09ebb5ca53a4af4f6987701";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
|
|
|
|
# defined in optional-requirements.txt
|
|
|
|
sqlalchemy
|
2021-12-24 04:21:11 +00:00
|
|
|
aiosqlite
|
2021-12-06 16:07:01 +00:00
|
|
|
ruamel-yaml
|
2020-04-24 23:36:52 +00:00
|
|
|
CommonMark
|
|
|
|
lxml
|
|
|
|
];
|
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# no tests available
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
pythonImportsCheck = [ "mautrix" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/tulir/mautrix-python";
|
|
|
|
description = "A Python 3 asyncio Matrix framework.";
|
|
|
|
license = licenses.mpl20;
|
2021-10-04 12:37:57 +00:00
|
|
|
maintainers = with maintainers; [ nyanloutre ma27 sumnerevans ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|