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