depot/third_party/nixpkgs/pkgs/development/python-modules/mautrix/default.nix
Default email 619d6dcc77 Project import generated by Copybara.
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
2021-08-22 09:53:02 +02:00

37 lines
801 B
Nix

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