Fabian Affolter 2024-01-19 07:59:36 +01:00
parent ca04bd5e67
commit b1c1b33bf1

View File

@ -10,16 +10,16 @@
buildPythonPackage rec {
pname = "asyncclick";
version = "8.1.3.2";
format = "setuptools";
version = "8.1.7.1";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "python-trio";
repo = pname;
rev = version;
hash = "sha256-by1clF+WAfN/gjOg/F60O1tCZ3qAhWqiiJJY04iMzQ8=";
repo = "asyncclick";
rev = "refs/tags/${version}";
hash = "sha256-gx7s/HikvjsXalc0Z73JWMKc1SlhR+kohwk2sW4o19I=";
};
nativeBuildInputs = [
@ -40,15 +40,18 @@ buildPythonPackage rec {
];
disabledTests = [
# RuntimeWarning: coroutine 'Context.invoke' was never awaited
"test_context_invoke_type"
# AttributeError: 'Context' object has no attribute '_ctx_mgr'
"test_context_pushing"
];
pythonImportsCheck = [ "asyncclick" ];
pythonImportsCheck = [
"asyncclick"
];
meta = with lib; {
description = "Python composable command line utility";
homepage = "https://github.com/python-trio/asyncclick";
changelog = "https://github.com/python-trio/asyncclick/blob/${version}/CHANGES.rst";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};