5e2a688410
GitOrigin-RevId: 5e2018f7b383aeca6824a30c0cd1978c9532a46a
37 lines
813 B
Nix
37 lines
813 B
Nix
{ lib, buildPythonPackage, fetchPypi, aiohttp, pythonOlder
|
|
, sqlalchemy, ruamel_yaml, CommonMark, lxml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mautrix";
|
|
version = "0.10.9";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b774a2e1178a2f9812ce02119c6ee374b1ea08d34bad4c09a1ecc92d08d98f28";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|