1{ lib 2, asynctest 3, buildPythonPackage 4, docutils 5, fetchFromGitHub 6, imaplib2 7, mock 8, nose 9, pyopenssl 10, pytestCheckHook 11, pytz 12, tzlocal 13}: 14 15buildPythonPackage rec { 16 pname = "aioimaplib"; 17 version = "0.9.0"; 18 19 src = fetchFromGitHub { 20 owner = "bamthomas"; 21 repo = pname; 22 rev = version; 23 sha256 = "sha256-xxZAeJDuqrPv4kGgDr0ypFuZJk1zcs/bmgeEzI0jpqY="; 24 }; 25 26 checkInputs = [ 27 asynctest 28 docutils 29 imaplib2 30 mock 31 nose 32 pyopenssl 33 pytestCheckHook 34 pytz 35 tzlocal 36 ]; 37 38 pythonImportsCheck = [ "aioimaplib" ]; 39 40 meta = with lib; { 41 description = "Python asyncio IMAP4rev1 client library"; 42 homepage = "https://github.com/bamthomas/aioimaplib"; 43 license = licenses.gpl3Plus; 44 maintainers = with maintainers; [ dotlambda ]; 45 }; 46}