Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / aioimaplib / default.nix
blobdf9748f1c8490d5cad9aa322287b88b578b98fa9
1 { lib
2 , asynctest
3 , buildPythonPackage
4 , docutils
5 , fetchFromGitHub
6 , imaplib2
7 , mock
8 , nose
9 , pyopenssl
10 , pytestCheckHook
11 , pythonAtLeast
12 , pytz
13 , tzlocal
16 buildPythonPackage rec {
17   pname = "aioimaplib";
18   version = "0.8.0";
20   disabled = pythonAtLeast "3.9";
22   src = fetchFromGitHub {
23     owner = "bamthomas";
24     repo = pname;
25     rev = version;
26     sha256 = "sha256-ume25EwLNB6szokHXonDXHGKVK76CiZYOBXVUf37/x8=";
27   };
29   checkInputs = [
30     asynctest
31     docutils
32     imaplib2
33     mock
34     nose
35     pyopenssl
36     pytestCheckHook
37     pytz
38     tzlocal
39   ];
41   pythonImportsCheck = [ "aioimaplib" ];
43   meta = with lib; {
44     description = "Python asyncio IMAP4rev1 client library";
45     homepage = "https://github.com/bamthomas/aioimaplib";
46     license = licenses.gpl3Plus;
47     maintainers = with maintainers; [ dotlambda ];
48   };