From ed99c08d79944078ff14b0373d13f307ebb97cc9 Mon Sep 17 00:00:00 2001 From: natsukium Date: Thu, 11 May 2023 23:33:37 +0900 Subject: [PATCH] python3Packages.websockify: disabled a broken test on darwin --- pkgs/development/python-modules/websockify/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/websockify/default.nix b/pkgs/development/python-modules/websockify/default.nix index 8b0401b72fbe..b456de718c7e 100644 --- a/pkgs/development/python-modules/websockify/default.nix +++ b/pkgs/development/python-modules/websockify/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchFromGitHub , jwcrypto @@ -36,6 +37,12 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = lib.optionals stdenv.isDarwin [ + # this test failed on macos + # https://github.com/novnc/websockify/issues/552 + "test_socket_set_keepalive_options" + ]; + pythonImportsCheck = [ "websockify" ];