10 buildPythonPackage rec {
11 pname = "async-generator";
13 format = "setuptools";
15 disabled = pythonOlder "3.5";
18 pname = "async_generator";
20 hash = "sha256-brs9EGwSkgqq5CzLb3h+9e79zdFm6j1ij6hHar5xIUQ=";
23 nativeCheckInputs = [ pytestCheckHook ];
25 disabledTests = lib.optionals (pythonAtLeast "3.12") [ "test_aclose_on_unstarted_generator" ];
27 pythonImportsCheck = [ "async_generator" ];
30 description = "Async generators and context managers for Python 3.5+";
31 homepage = "https://github.com/python-trio/async_generator";
32 license = with licenses; [
36 maintainers = with maintainers; [ dotlambda ];