12 buildPythonPackage rec {
13 pname = "trio-asyncio";
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
20 pname = "trio_asyncio";
22 sha256 = "824be23b0c678c0df942816cdb57b92a8b94f264fffa89f04626b0ba2d009768";
26 substituteInPlace setup.py \
27 --replace "'pytest-runner'" ""
30 propagatedBuildInputs = [
42 # https://github.com/python-trio/trio-asyncio/issues/112
44 "ignore::DeprecationWarning"
48 "tests/python" # tries to import internal API test.test_asyncio
51 pythonImportsCheck = [
56 description = "Re-implementation of the asyncio mainloop on top of Trio";
57 homepage = "https://github.com/python-trio/trio-asyncio";
58 license = with licenses; [ asl20 /* or */ mit ];
59 maintainers = with maintainers; [ dotlambda ];