Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 63 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, stdenv, buildPythonPackage, fetchFromGitHub, imaplib2, mock, poetry-core, pyopenssl, pytest-asyncio_0, pytestCheckHook, pytz,}:
buildPythonPackage rec { pname = "aioimaplib"; version = "2.0.1"; pyproject = true;
src = fetchFromGitHub { owner = "iroco-co"; repo = "aioimaplib"; tag = version; hash = "sha256-njzSpKPis033eLoRKXL538ljyMOB43chslio1wodrKU="; };
patches = [ # https://github.com/iroco-co/aioimaplib/issues/125 ./event-loop.patch ];
build-system = [ poetry-core ];
nativeCheckInputs = [ imaplib2 mock pyopenssl pytest-asyncio_0 pytestCheckHook pytz ];
disabledTests = [ # TimeoutError "test_idle_start__exits_queue_get_without_timeout_error" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Comparison to magic strings "test_idle_loop" ];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "aioimaplib" ];
meta = { description = "Python asyncio IMAP4rev1 client library"; homepage = "https://github.com/iroco-co/aioimaplib"; changelog = "https://github.com/iroco-co/aioimaplib/blob/${src.tag}/CHANGES.rst"; license = lib.licenses.gpl3Plus; maintainers = [ lib.maintainers.dotlambda ]; };}