2020-11-29 08:13:21 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, aiohttp, pythonOlder
|
2021-03-23 21:09:17 +00:00
|
|
|
, sqlalchemy, ruamel_yaml, CommonMark, lxml
|
2019-12-28 12:09:02 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mautrix";
|
2021-03-23 21:09:17 +00:00
|
|
|
version = "0.8.17";
|
2019-12-28 12:09:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-23 21:09:17 +00:00
|
|
|
sha256 = "9a15a8e39f9d0b36c91dfe0f5dd1efc8752cc1d317057840a3dbffd6ee90e068";
|
2019-12-28 12:09:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
|
|
|
|
# defined in optional-requirements.txt
|
|
|
|
sqlalchemy
|
|
|
|
ruamel_yaml
|
|
|
|
CommonMark
|
|
|
|
lxml
|
|
|
|
];
|
|
|
|
|
2020-11-29 08:13:21 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2019-12-28 12:09:02 +00:00
|
|
|
|
|
|
|
# no tests available
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-02-07 01:46:45 +00:00
|
|
|
pythonImportsCheck = [ "mautrix" ];
|
|
|
|
|
2019-12-28 12:09:02 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/tulir/mautrix-python";
|
2019-12-28 12:09:02 +00:00
|
|
|
description = "A Python 3 asyncio Matrix framework.";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ nyanloutre ma27 ];
|
|
|
|
};
|
|
|
|
}
|