2021-01-12 17:59:11 +00:00
|
|
|
{ lib
|
|
|
|
, asynctest
|
|
|
|
, buildPythonPackage
|
|
|
|
, docutils
|
|
|
|
, fetchFromGitHub
|
|
|
|
, imaplib2
|
|
|
|
, mock
|
|
|
|
, nose
|
|
|
|
, pyopenssl
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytz
|
|
|
|
, tzlocal
|
|
|
|
}:
|
2018-02-04 21:47:01 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioimaplib";
|
2021-04-17 23:21:57 +01:00
|
|
|
version = "0.9.0";
|
2018-02-04 21:47:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bamthomas";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-04-17 23:21:57 +01:00
|
|
|
sha256 = "sha256-xxZAeJDuqrPv4kGgDr0ypFuZJk1zcs/bmgeEzI0jpqY=";
|
2018-02-04 21:47:01 +00:00
|
|
|
};
|
|
|
|
|
2021-01-12 17:59:11 +00:00
|
|
|
checkInputs = [
|
|
|
|
asynctest
|
|
|
|
docutils
|
|
|
|
imaplib2
|
|
|
|
mock
|
|
|
|
nose
|
|
|
|
pyopenssl
|
|
|
|
pytestCheckHook
|
|
|
|
pytz
|
|
|
|
tzlocal
|
|
|
|
];
|
2018-02-04 21:47:01 +00:00
|
|
|
|
2021-01-12 17:59:11 +00:00
|
|
|
pythonImportsCheck = [ "aioimaplib" ];
|
2018-02-04 21:47:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python asyncio IMAP4rev1 client library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/bamthomas/aioimaplib";
|
2018-02-04 21:47:01 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|