Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 774 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, pytest 6, pytest-asyncio 7, pytestcov 8, trustme 9, async-timeout 10}: 11 12buildPythonPackage rec { 13 pname = "aioftp"; 14 version = "0.17.2"; 15 disabled = isPy27; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "8433ff21317e71ef1f4d8cb8f7fe58365c04b5174142d9643e22343cfb35da1b"; 20 }; 21 22 checkInputs = [ 23 pytest 24 pytest-asyncio 25 pytestcov 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}