1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, pytest 6, pytest-asyncio 7, pytest-cov 8, trustme 9, async-timeout 10}: 11 12buildPythonPackage rec { 13 pname = "aioftp"; 14 version = "0.19.0"; 15 disabled = isPy27; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "d1c2571764c48e6de1b02952022c3c3b3da1f10806cb342ec7b1fa9b109e9902"; 20 }; 21 22 checkInputs = [ 23 pytest 24 pytest-asyncio 25 pytest-cov 26 trustme 27 async-timeout 28 ]; 29 30 doCheck = false; # requires siosocks, not packaged yet 31 checkPhase = '' 32 pytest 33 ''; 34 35 pythonImportsCheck = [ "aioftp" ]; 36 37 meta = with lib; { 38 description = "Ftp client/server for asyncio"; 39 homepage = "https://github.com/aio-libs/aioftp"; 40 license = licenses.asl20; 41 maintainers = [ maintainers.costrouc ]; 42 }; 43}