anchor.diff:      "--disable-libmpv-static"
       "--disable-static-build"
       "--disable-build-date" # Purity
  +    "--disable-macos-cocoa-cb" # Disable whilst Swift isn't supported
       (enableFeature archiveSupport "libarchive")
       (enableFeature dvdreadSupport "dvdread")
       (enableFeature dvdnavSupport "dvdnav")
  
positive.code: { stdenv, fetchurl, fetchFromGitHub, makeWrapper
  , docutils, perl, pkgconfig, python3, which, ffmpeg_4
  , freefont_ttf, freetype, libass, libpthreadstubs
  , lua, luasocket, libuchardet, libiconv ? null, darwin
  
negative.code:     ++ optional drmSupport         libdrm
      ++ optional vapoursynthSupport vapoursynth
      ++ optional archiveSupport     libarchive
      ++ optional stdenv.isDarwin    libiconv
      ++ optionals dvdnavSupport     [ libdvdnav libdvdnav.libdvdread ]
      ++ optionals x11Support        [ libX11 libXext libGLU_combined libXxf86vm libXrandr ]
      ++ optionals waylandSupport    [ wayland wayland-protocols libxkbcommon ]
      ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
        CoreFoundation Cocoa CoreAudio
      ]);
  
    enableParallelBuilding = true;
  