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