Commit ec508135 authored by Emily's avatar Emily
Browse files

python3Packages.ffmpeg-python: patch out future dependency

parent 6956c486
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -3,8 +3,8 @@
  buildPythonPackage,
  fetchFromGitHub,
  substituteAll,
  fetchpatch2,
  setuptools,
  future,
  pytestCheckHook,
  pytest-mock,
  ffmpeg_4,
@@ -27,12 +27,17 @@ buildPythonPackage {
      src = ./ffmpeg-location.patch;
      ffmpeg = ffmpeg_4;
    })

    # Remove dependency on `future`
    # https://github.com/kkroening/ffmpeg-python/pull/795
    (fetchpatch2 {
      url = "https://github.com/kkroening/ffmpeg-python/commit/dce459d39ace25f03edbabdad1735064787568f7.patch?full_index=1";
      hash = "sha256-ZptCFplL88d0p2s741ymHiwyDsDGVFylBJ8FTrZDGMc=";
    })
  ];

  build-system = [ setuptools ];

  dependencies = [ future ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-mock