Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 40 lines 677 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.13.0"; 15 disabled = isPy27; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "5711c03433b510c101e9337069033133cca19b508b5162b414bed24320de6c18"; 20 }; 21 22 checkInputs = [ 23 pytest 24 pytest-asyncio 25 pytestcov 26 trustme 27 async-timeout 28 ]; 29 30 checkPhase = '' 31 pytest 32 ''; 33 34 meta = with lib; { 35 description = "Ftp client/server for asyncio"; 36 homepage = https://github.com/aio-libs/aioftp; 37 license = licenses.asl20; 38 maintainers = [ maintainers.costrouc ]; 39 }; 40}