python312Packages.aioimaplib: refactor

- remove nose
- update disabled
- update build-system
This commit is contained in:
Fabian Affolter
2024-05-21 20:42:52 +02:00
parent 91827acc21
commit 493cf1b1f8
@@ -1,48 +1,51 @@
{ lib
, pythonOlder
, pythonAtLeast
, asynctest
, buildPythonPackage
, docutils
, fetchFromGitHub
, imaplib2
, mock
, nose
, pyopenssl
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, pytz
, setuptools
, tzlocal
}:
buildPythonPackage rec {
pname = "aioimaplib";
version = "1.0.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.5";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bamthomas";
repo = pname;
rev = version;
repo = "aioimaplib";
rev = "refs/tags/${version}";
hash = "sha256-7Ta0BhtQSm228vvUa5z+pzM3UC7+BskgBNjxsbEb9P0=";
};
# https://github.com/bamthomas/aioimaplib/issues/54
doCheck = pythonOlder "3.11";
build-system = [
setuptools
];
nativeCheckInputs = [
asynctest
docutils
imaplib2
mock
nose
pyopenssl
pytestCheckHook
pytz
tzlocal
];
# https://github.com/bamthomas/aioimaplib/issues/54
doCheck = pythonOlder "3.11";
disabledTests = [
# https://github.com/bamthomas/aioimaplib/issues/77
"test_get_quotaroot"