37 lines
810 B
Nix
37 lines
810 B
Nix
{ lib, buildPythonPackage, fetchPypi, aiohttp, future-fstrings, pythonOlder
|
|
, sqlalchemy, ruamel_yaml, CommonMark, lxml, fetchpatch
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mautrix";
|
|
version = "0.5.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a8dcf86c3562c1c6c25247b0a1a16f95d821bc8b3805141787c0b9ed8a2b4ca9";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
future-fstrings
|
|
|
|
# defined in optional-requirements.txt
|
|
sqlalchemy
|
|
ruamel_yaml
|
|
CommonMark
|
|
lxml
|
|
];
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
# no tests available
|
|
doCheck = false;
|
|
|
|
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 ];
|
|
};
|
|
}
|