diff --git a/pkgs/development/python-modules/ffmpeg-progress-yield/default.nix b/pkgs/development/python-modules/ffmpeg-progress-yield/default.nix index 8470813caa61..167398c0c2cf 100644 --- a/pkgs/development/python-modules/ffmpeg-progress-yield/default.nix +++ b/pkgs/development/python-modules/ffmpeg-progress-yield/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, setuptools, @@ -40,6 +41,16 @@ buildPythonPackage rec { enabledTestPaths = [ "test/test.py" ]; + disabledTests = lib.optional stdenv.hostPlatform.isDarwin [ + # cannot access /usr/bin/pgrep from the sandbox + "test_context_manager" + "test_context_manager_with_exception" + "test_automatic_cleanup_on_exception" + "test_async_context_manager" + "test_async_context_manager_with_exception" + "test_async_automatic_cleanup_on_exception" + ]; + pythonImportsCheck = [ "ffmpeg_progress_yield" ]; meta = with lib; {