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