3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/mautrix/default.nix
2021-10-30 09:54:14 -07:00

38 lines
814 B
Nix

{ lib, buildPythonPackage, fetchPypi, aiohttp, pythonOlder
, sqlalchemy, ruamel_yaml, CommonMark, lxml
}:
buildPythonPackage rec {
pname = "mautrix";
version = "0.10.11";
src = fetchPypi {
inherit pname version;
sha256 = "b3905fbd1381031b4c54258fdef9e99dd342c3a211abe0b827b2c480db4b1771";
};
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 ];
};
}