Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / aioimaplib / default.nix
blob84020ba7ac54f1d007f72160ac64ec40102d03ff
1 { lib
2 , pythonOlder
3 , pythonAtLeast
4 , asynctest
5 , buildPythonPackage
6 , docutils
7 , fetchFromGitHub
8 , imaplib2
9 , mock
10 , nose
11 , pyopenssl
12 , pytestCheckHook
13 , pytz
14 , tzlocal
17 buildPythonPackage rec {
18   pname = "aioimaplib";
19   version = "1.0.1";
20   format = "setuptools";
22   disabled = pythonOlder "3.5";
24   src = fetchFromGitHub {
25     owner = "bamthomas";
26     repo = pname;
27     rev = version;
28     hash = "sha256-7Ta0BhtQSm228vvUa5z+pzM3UC7+BskgBNjxsbEb9P0=";
29   };
31   # https://github.com/bamthomas/aioimaplib/issues/54
32   doCheck = pythonOlder "3.11";
34   nativeCheckInputs = [
35     asynctest
36     docutils
37     imaplib2
38     mock
39     nose
40     pyopenssl
41     pytestCheckHook
42     pytz
43     tzlocal
44   ];
46   disabledTests = [
47     # https://github.com/bamthomas/aioimaplib/issues/77
48     "test_get_quotaroot"
49     # asyncio.exceptions.TimeoutError
50     "test_idle"
51   ];
53   pythonImportsCheck = [
54     "aioimaplib"
55   ];
57   meta = with lib; {
58     description = "Python asyncio IMAP4rev1 client library";
59     homepage = "https://github.com/bamthomas/aioimaplib";
60     license = licenses.gpl3Plus;
61     maintainers = with maintainers; [ dotlambda ];
62   };