2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, six
|
2021-05-03 20:48:10 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, mock
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "imapclient";
|
2021-05-03 20:48:10 +00:00
|
|
|
version = "2.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mjs";
|
|
|
|
repo = "imapclient";
|
|
|
|
rev = version;
|
2021-05-03 20:48:10 +00:00
|
|
|
sha256 = "sha256-q/8LFKHgrY3pQV7Coz+5pZAw696uABMTEkYoli6C2KA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
checkInputs = [ pytestCheckHook mock ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://imapclient.readthedocs.io";
|
|
|
|
description = "Easy-to-use, Pythonic and complete IMAP client library";
|
|
|
|
license = licenses.bsd3;
|
2021-05-03 20:48:10 +00:00
|
|
|
maintainers = with maintainers; [ almac dotlambda ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|