1{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder 2, nose, asynctest, mock, pytz, tzlocal, imaplib2, docutils }: 3 4buildPythonPackage rec { 5 pname = "aioimaplib"; 6 version = "0.7.13"; 7 8 # PyPI tarball doesn't ship tests 9 src = fetchFromGitHub { 10 owner = "bamthomas"; 11 repo = pname; 12 rev = version; 13 sha256 = "19yhk4ixfw46d0bvx6a40r23nvia5a83dzn5rzwaq1wdjr186bbn"; 14 }; 15 16 disbaled = pythonOlder "3.4"; 17 18 checkInputs = [ nose asynctest mock pytz tzlocal imaplib2 docutils ]; 19 20 meta = with lib; { 21 description = "Python asyncio IMAP4rev1 client library"; 22 homepage = https://github.com/bamthomas/aioimaplib; 23 license = licenses.gpl3Plus; 24 maintainers = with maintainers; [ dotlambda ]; 25 }; 26}