Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 43 lines 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.18.1"; 15 disabled = isPy27; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "b5a412c748722dd679c4c2e30dd40d70a7c8879636f6eb4489fdbca72965b125"; 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}