2023-03-04 12:14:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, aiosasl
|
|
|
|
, aioopenssl
|
|
|
|
, babel
|
|
|
|
, dnspython
|
|
|
|
, lxml
|
|
|
|
, multidict
|
|
|
|
, pyasn1
|
|
|
|
, pyasn1-modules
|
|
|
|
, pyopenssl
|
2023-03-15 16:39:30 +00:00
|
|
|
, pytz
|
2023-03-04 12:14:45 +00:00
|
|
|
, sortedcollections
|
|
|
|
, tzlocal
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioxmpp";
|
|
|
|
version = "0.13.3";
|
|
|
|
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "horazont";
|
|
|
|
repo = "aioxmpp";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-bQPKEM5eKhFI3Kx3U1espdxqjnG4yUgOXmYCrd98PDo=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiosasl
|
|
|
|
aioopenssl
|
|
|
|
babel
|
|
|
|
dnspython
|
|
|
|
lxml
|
|
|
|
multidict
|
|
|
|
pyasn1
|
|
|
|
pyasn1-modules
|
|
|
|
pyopenssl
|
2023-03-15 16:39:30 +00:00
|
|
|
pytz
|
2023-03-04 12:14:45 +00:00
|
|
|
sortedcollections
|
|
|
|
tzlocal
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"aioxmpp"
|
|
|
|
"aioxmpp.node"
|
|
|
|
"aioxmpp.security_layer"
|
|
|
|
"aioxmpp.stanza"
|
|
|
|
"aioxmpp.stream"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTestPaths = [
|
|
|
|
"benchmarks"
|
|
|
|
];
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
disabledTests = [
|
|
|
|
# AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'normalize'
|
|
|
|
"test_convert_field_datetime_default_locale"
|
|
|
|
];
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
meta = {
|
|
|
|
changelog = "https://github.com/horazont/aioxmpp/blob/${src.rev}/docs/api/changelog.rst";
|
|
|
|
description = "Pure-python XMPP library for asyncio";
|
|
|
|
homepage = "https://github.com/horazont/aioxmpp";
|
|
|
|
license = lib.licenses.lgpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|