23 buildPythonPackage rec {
28 disabled = pythonOlder "3.7";
30 src = fetchFromGitHub {
33 rev = "refs/tags/v${version}";
34 hash = "sha256-bQPKEM5eKhFI3Kx3U1espdxqjnG4yUgOXmYCrd98PDo=";
41 build-system = [ setuptools ];
59 pythonImportsCheck = [
62 "aioxmpp.security_layer"
67 nativeCheckInputs = [ pytestCheckHook ];
69 disabledTestPaths = [ "benchmarks" ];
72 # AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'normalize'
73 "test_convert_field_datetime_default_locale"
74 ] ++ lib.optionals (pythonAtLeast "3.12") [
88 description = "Pure-python XMPP library for asyncio";
89 homepage = "https://github.com/horazont/aioxmpp";
90 changelog = "https://github.com/horazont/aioxmpp/blob/${src.rev}/docs/api/changelog.rst";
91 license = lib.licenses.lgpl3Plus;
92 maintainers = with lib.maintainers; [ dotlambda ];