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

View File

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