16 buildPythonPackage rec {
21 disabled = pythonOlder "3.11";
24 inherit pname version;
25 hash = "sha256-uA6t2MqV0ru8+r594Vy+AawRey50Z3FzdN5Ge62TVws=";
28 build-system = [ setuptools ];
30 optional-dependencies = {
40 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
42 disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
43 # uses 127.0.0.2, which macos doesn't like
44 "test_pasv_connection_pasv_forced_response_address"
47 pythonImportsCheck = [ "aioftp" ];
50 description = "Python FTP client/server for asyncio";
51 homepage = "https://aioftp.readthedocs.io/";
52 license = licenses.asl20;