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