anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / aioimaplib / default.nix
blob737a0a3d8e97a35fd98c86a21bea9844d5814880
2   lib,
3   asynctest,
4   buildPythonPackage,
5   docutils,
6   fetchFromGitHub,
7   imaplib2,
8   mock,
9   pyopenssl,
10   pytestCheckHook,
11   pythonOlder,
12   pytz,
13   setuptools,
14   tzlocal,
17 buildPythonPackage rec {
18   pname = "aioimaplib";
19   version = "1.1.0";
20   pyproject = true;
22   disabled = pythonOlder "3.7";
24   src = fetchFromGitHub {
25     owner = "bamthomas";
26     repo = "aioimaplib";
27     rev = "refs/tags/${version}";
28     hash = "sha256-TjCPGZGsSb+04kQNzHU3kWBo2vY34ujEqh1GIMIehJc=";
29   };
31   build-system = [ setuptools ];
33   nativeCheckInputs = [
34     asynctest
35     docutils
36     imaplib2
37     mock
38     pyopenssl
39     pytestCheckHook
40     pytz
41     tzlocal
42   ];
44   # https://github.com/bamthomas/aioimaplib/issues/54
45   doCheck = pythonOlder "3.11";
47   pythonImportsCheck = [ "aioimaplib" ];
49   meta = with lib; {
50     description = "Python asyncio IMAP4rev1 client library";
51     homepage = "https://github.com/bamthomas/aioimaplib";
52     license = licenses.gpl3Plus;
53     maintainers = with maintainers; [ dotlambda ];
54   };