Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / aioxmpp / default.nix
blob6c7660f9f3e1462e97bc819a0bd11b0c21b6d2ca
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , aiosasl
5 , aioopenssl
6 , babel
7 , dnspython
8 , lxml
9 , multidict
10 , pyasn1
11 , pyasn1-modules
12 , pyopenssl
13 , pytz
14 , sortedcollections
15 , tzlocal
16 , pytestCheckHook
19 buildPythonPackage rec {
20   pname = "aioxmpp";
21   version = "0.13.3";
23   format = "setuptools";
25   src = fetchFromGitHub {
26     owner = "horazont";
27     repo = "aioxmpp";
28     rev = "refs/tags/v${version}";
29     hash = "sha256-bQPKEM5eKhFI3Kx3U1espdxqjnG4yUgOXmYCrd98PDo=";
30   };
32   propagatedBuildInputs = [
33     aiosasl
34     aioopenssl
35     babel
36     dnspython
37     lxml
38     multidict
39     pyasn1
40     pyasn1-modules
41     pyopenssl
42     pytz
43     sortedcollections
44     tzlocal
45   ];
47   pythonImportsCheck = [
48     "aioxmpp"
49     "aioxmpp.node"
50     "aioxmpp.security_layer"
51     "aioxmpp.stanza"
52     "aioxmpp.stream"
53   ];
55   nativeCheckInputs = [
56     pytestCheckHook
57   ];
59   disabledTestPaths = [
60     "benchmarks"
61   ];
63   disabledTests = [
64     # AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'normalize'
65     "test_convert_field_datetime_default_locale"
66   ];
68   meta = {
69     changelog = "https://github.com/horazont/aioxmpp/blob/${src.rev}/docs/api/changelog.rst";
70     description = "Pure-python XMPP library for asyncio";
71     homepage = "https://github.com/horazont/aioxmpp";
72     license = lib.licenses.lgpl3Plus;
73     maintainers = with lib.maintainers; [ dotlambda ];
74   };