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