Unverified Commit 8a75a074 authored by Pavol Rusnak's avatar Pavol Rusnak Committed by GitHub
Browse files

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

parents 7e992f81 339bd06f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
{
  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; {