556d6f0562
GitOrigin-RevId: e4ef597edfd8a0ba5f12362932fc9b1dd01a0aef
37 lines
814 B
Nix
37 lines
814 B
Nix
{ lib, buildPythonPackage, fetchPypi, aiohttp, pythonOlder
|
|
, sqlalchemy, ruamel_yaml, CommonMark, lxml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mautrix";
|
|
version = "0.10.10";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "78309702392fe1ced000a23cfacb9bae0511ba533963b82d1d040f4a39924c09";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
|
|
# defined in optional-requirements.txt
|
|
sqlalchemy
|
|
ruamel_yaml
|
|
CommonMark
|
|
lxml
|
|
];
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
# no tests available
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "mautrix" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/tulir/mautrix-python";
|
|
description = "A Python 3 asyncio Matrix framework.";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ nyanloutre ma27 sumnerevans ];
|
|
};
|
|
}
|