Merge pull request #119538 from dotlambda/aioimaplib-0.8.0

python3Packages.aioimaplib: 0.7.18 -> 0.8.0
This commit is contained in:
Fabian Affolter 2021-04-15 22:03:57 +02:00 committed by GitHub
commit 403f6b9cee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -8,20 +8,22 @@
, nose , nose
, pyopenssl , pyopenssl
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonAtLeast
, pytz , pytz
, tzlocal , tzlocal
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aioimaplib"; pname = "aioimaplib";
version = "0.7.18"; version = "0.8.0";
disabled = pythonAtLeast "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bamthomas"; owner = "bamthomas";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "037fxwmkdfb95cqcykrhn37p138wg9pvlsgdf45vyn1mhz5crky5"; sha256 = "sha256-ume25EwLNB6szokHXonDXHGKVK76CiZYOBXVUf37/x8=";
}; };
checkInputs = [ checkInputs = [
@ -36,9 +38,6 @@ buildPythonPackage rec {
tzlocal tzlocal
]; ];
# Project is using asynctest with doesn't work with Python 3.8 and above
# https://github.com/bamthomas/aioimaplib/issues/54
doCheck = pythonOlder "3.8";
pythonImportsCheck = [ "aioimaplib" ]; pythonImportsCheck = [ "aioimaplib" ];
meta = with lib; { meta = with lib; {