diff --git a/pkgs/development/python-modules/aioftp/default.nix b/pkgs/development/python-modules/aioftp/default.nix index 4ef05d27d991..77b1d34b6a92 100644 --- a/pkgs/development/python-modules/aioftp/default.nix +++ b/pkgs/development/python-modules/aioftp/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , async-timeout , buildPythonPackage , fetchPypi @@ -32,6 +33,11 @@ buildPythonPackage rec { trustme ]; + disabledTests = lib.optionals stdenv.isDarwin [ + # uses 127.0.0.2, which macos doesn't like + "test_pasv_connection_pasv_forced_response_address" + ]; + pythonImportsCheck = [ "aioftp" ];