nixpkgs/pkgs/development/python-modules/mautrix/default.nix
2021-01-22 07:40:16 -08:00

36 lines
773 B
Nix

{ lib, buildPythonPackage, fetchPypi, aiohttp, pythonOlder
, sqlalchemy, ruamel_yaml, CommonMark, lxml, fetchpatch
}:
buildPythonPackage rec {
pname = "mautrix";
version = "0.8.9";
src = fetchPypi {
inherit pname version;
sha256 = "13669a0150370c96cabcff859fb4d17f4a539dc7c707ff0c99c00612e24f5447";
};
propagatedBuildInputs = [
aiohttp
# defined in optional-requirements.txt
sqlalchemy
ruamel_yaml
CommonMark
lxml
];
disabled = pythonOlder "3.7";
# no tests available
doCheck = false;
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 ];
};
}