2021-01-25 00:26:54 -08:00
|
|
|
{ lib
|
2018-10-29 09:16:55 -07:00
|
|
|
, buildPythonPackage
|
2020-03-13 08:31:28 -07:00
|
|
|
, fetchFromGitHub
|
|
|
|
, six
|
2021-04-29 11:56:39 -07:00
|
|
|
, pytestCheckHook
|
|
|
|
, mock
|
2018-10-29 09:16:55 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "IMAPClient";
|
2021-04-29 11:56:39 -07:00
|
|
|
version = "2.2.0";
|
2018-10-29 09:16:55 -07:00
|
|
|
|
2020-03-13 08:31:28 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mjs";
|
|
|
|
repo = "imapclient";
|
|
|
|
rev = version;
|
2021-04-29 11:56:39 -07:00
|
|
|
sha256 = "sha256-q/8LFKHgrY3pQV7Coz+5pZAw696uABMTEkYoli6C2KA=";
|
2018-10-29 09:16:55 -07:00
|
|
|
};
|
|
|
|
|
2020-03-13 08:31:28 -07:00
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2021-04-29 11:56:39 -07:00
|
|
|
checkInputs = [ pytestCheckHook mock ];
|
2020-03-13 08:31:28 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-13 08:31:28 -07:00
|
|
|
homepage = "https://imapclient.readthedocs.io";
|
2018-10-29 09:16:55 -07:00
|
|
|
description = "Easy-to-use, Pythonic and complete IMAP client library";
|
|
|
|
license = licenses.bsd3;
|
2021-04-29 11:56:39 -07:00
|
|
|
maintainers = with maintainers; [ almac dotlambda ];
|
2018-10-29 09:16:55 -07:00
|
|
|
};
|
|
|
|
}
|