anchor.diff:    inherit (lib)
       boolEn;
   
  -  version = "0.26.0";
  +  version = "0.27.0";
   in
   stdenv.mkDerivation rec {
     name = "mpv-${version}";
  
positive.code:     "--${boolEn (openal != null)}-openal"
      "--disable-opensles"  # android
      "--${boolEn (alsa-lib != null)}-alsa"
      "--disable-coreaudio"  # macos
      "--disable-audiounit"  # ios
      "--disable-wasapi"  # windows
      "--disable-cocoa"  # macos
      "--${boolEn (libdrm != null)}-drm"
      #"--${boolEn ( != null)}-gbm"
      "--${boolEn (wayland != null && libxkbcommon != null)}-wayland"
      "--${boolEn (
          libx11 != null
          && libxext != null
  
negative.code:     "--${boolEn opengl-dummy.egl}-vaapi-x-egl"
      "--${boolEn (libcaca != null)}-caca"
      "--${boolEn (libjpeg != null)}-jpeg"
      "--disable-direct3d"  # Windows
      "--disable-android"  # Android
      # FIXME: add raspberry pi support
      "--disable-rpi"
      "--disable-ios-gl"  # iOS
      "--disable-plain-gl"
      "--disable-mali-fbdev"
      "--${boolEn (opengl-dummy != null)}-gl"
      ###"--${boolEn (vulkan-headers != null)}-vulkan"
      /**/###"--disable-shaderc"
      "--${boolEn (libva != null)}-vaapi-hwaccel"
      "--disable-videotoolbox-hwaccel-new"  # macOS
      "--disable-videotoolbox-hwaccel-old"  # macOS
      ###"--disable-videotoolbox-hwaccel"  # macOS
      "--disable-videotoolbox-gl"  # macOS
      "--${boolEn (libvdpau != null && ffmpeg != null)}-vdpau-hwaccel"
      "--disable-d3d-hwaccel"  # Windows
      "--disable-d3d9-hwaccel"  # Windows
      "--disable-gl-dxinterop-d3d9"  # Windows
      "--${boolEn (
        ffmpeg != null
        && ffmpeg.features.cuda
        && nvidia-cuda-toolkit != null
        && nvidia-drivers != null)}-cuda-hwaccel"
      "--enable-tv"
      # FIXME
      # "--${boolEn (v4l_lib != null)}-tv-v4l2"
      # "--${boolEn (v4l_lib != null)}-libv4l2"
  