Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, anyio, buildPythonPackage, fetchFromGitHub, flit-core, pytestCheckHook, trio,}:
buildPythonPackage rec { pname = "asyncclick"; version = "8.4.2.1"; pyproject = true;
src = fetchFromGitHub { owner = "python-trio"; repo = "asyncclick"; tag = "${version}+async"; hash = "sha256-KTWNftj/nYoknBPyFfz//S2AwJNp1RCUT2QsTU3DISg="; };
build-system = [ flit-core ];
dependencies = [ anyio ];
nativeCheckInputs = [ pytestCheckHook trio ];
pytestFlags = [ "-Wignore::trio.TrioDeprecationWarning" "-Wignore::pytest.PytestRemovedIn10Warning" ];
disabledTests = [ # AttributeError: 'Context' object has no attribute '_ctx_mgr' "test_context_pushing" # https://github.com/python-trio/asyncclick/issues/47 "test_echo_via_pager" ];
pythonImportsCheck = [ "asyncclick" ];
meta = { description = "Python composable command line utility"; homepage = "https://github.com/python-trio/asyncclick"; changelog = "https://github.com/python-trio/asyncclick/blob/${src.tag}/CHANGES.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; };}