1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "imaplib2";
5 version = "2.45.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "a35b6d88258696e80aabecfb784e08730b8558fcaaa3061ff2c7f8637afbd0b3";
10 };
11
12 # No tests on PyPI and no tags on GitHub :(
13 doCheck = false;
14
15 meta = with lib; {
16 description = "A threaded Python IMAP4 client";
17 homepage = https://github.com/bcoe/imaplib2;
18 # See https://github.com/bcoe/imaplib2/issues/25
19 license = licenses.psfl;
20 maintainers = with maintainers; [ dotlambda ];
21 };
22}