1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, six 5, pytestCheckHook 6, mock 7}: 8 9buildPythonPackage rec { 10 pname = "imapclient"; 11 version = "2.2.0"; 12 13 src = fetchFromGitHub { 14 owner = "mjs"; 15 repo = "imapclient"; 16 rev = version; 17 sha256 = "sha256-q/8LFKHgrY3pQV7Coz+5pZAw696uABMTEkYoli6C2KA="; 18 }; 19 20 propagatedBuildInputs = [ six ]; 21 22 checkInputs = [ pytestCheckHook mock ]; 23 24 meta = with lib; { 25 homepage = "https://imapclient.readthedocs.io"; 26 description = "Easy-to-use, Pythonic and complete IMAP client library"; 27 license = licenses.bsd3; 28 maintainers = with maintainers; [ almac dotlambda ]; 29 }; 30}