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