depot/third_party/nixpkgs/pkgs/development/python-modules/mautrix/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

38 lines
825 B
Nix

{ lib, buildPythonPackage, fetchPypi, aiohttp, pythonOlder
, sqlalchemy, ruamel-yaml, CommonMark, lxml, aiosqlite
}:
buildPythonPackage rec {
pname = "mautrix";
version = "0.17.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-DFajAD5mnXLQmJGRv4j2mWhtIj77nZNSQhbesX4qMys=";
};
propagatedBuildInputs = [
aiohttp
# defined in optional-requirements.txt
sqlalchemy
aiosqlite
ruamel-yaml
CommonMark
lxml
];
disabled = pythonOlder "3.8";
# 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 ];
};
}