Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 58 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, stdenv, buildPythonPackage, fetchFromGitHub, imaplib2, mock, poetry-core, pyopenssl, pytest-asyncio, pytestCheckHook, pytz,}:
buildPythonPackage rec { pname = "aioimaplib"; version = "2.0.1"; pyproject = true;
src = fetchFromGitHub { owner = "iroco-co"; repo = "aioimaplib"; tag = version; hash = "sha256-njzSpKPis033eLoRKXL538ljyMOB43chslio1wodrKU="; };
build-system = [ poetry-core ];
nativeCheckInputs = [ imaplib2 mock pyopenssl pytest-asyncio 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 ]; };}