python3Packages.ffmpeg-progress-yield: fix build on Darwin (#440714)

This commit is contained in:
Pavol Rusnak
2025-09-08 15:19:51 +02:00
committed by GitHub
@@ -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; {