3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/mautrix/default.nix
Maximilian Bosch d7f74f982f
Merge pull request #145757 from Ma27/bump-mautrix-pkgs
mautrix-telegram: 0.10.1 -> 0.10.2, mautrix-signal: unstable-2021-08-12 -> unstable-2021-11-12, python3Packages.mautrix: 0.10.11 -> 0.11.3
2021-11-17 17:17:15 +01:00

38 lines
800 B
Nix

{ lib, buildPythonPackage, fetchPypi, aiohttp, pythonOlder
, sqlalchemy, ruamel-yaml, CommonMark, lxml
}:
buildPythonPackage rec {
pname = "mautrix";
version = "0.11.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-eZ8fWemS808Hz6KoQWfMsk5WfaO+vj0kTyInhtE20Qk=";
};
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 ];
};
}