1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy33 5, pythonOlder 6, asyncio 7, singledispatch 8}: 9 10buildPythonPackage rec { 11 pname = "aiofiles"; 12 version = "0.4.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "021ea0ba314a86027c166ecc4b4c07f2d40fc0f4b3a950d1868a0f2571c2bbee"; 17 }; 18 19 disabled = pythonOlder "3.3"; 20 21 propagatedBuildInputs = lib.optionals isPy33 [ asyncio singledispatch ]; 22 23 # No tests in archive 24 doCheck = false; 25 26 meta = { 27 description = "File support for asyncio"; 28 homepage = https://github.com/Tinche/aiofiles; 29 license = with lib.licenses; [ asl20 ]; 30 maintainers = with lib.maintainers; [ fridh ]; 31 }; 32}