depot/third_party/nixpkgs/pkgs/development/python-modules/mautrix/default.nix
Default email b6f2ab0a42 Project import generated by Copybara.
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
2021-08-18 15:19:15 +02:00

37 lines
801 B
Nix

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