anchor.diff:      owner = "mpv-player";
       repo = "mpv";
       rev = "v${version}";
  -    sha256 = "12qxwm1ww5vhjddl8yvj1xa0n1fi9z3lmzwhaiday2v59ca0qgsk";
  +    sha256 = "sha256-U3NDSxlX4/WkoHFkOvpcwPMwfwTnSpCw0QI5yLMK08o=";
     };
   
     postPatch = ''
  -    patchShebangs ./TOOLS/
  +    patchShebangs version.* ./TOOLS/
     '';
   
     NIX_LDFLAGS = lib.optionalString x11Support "-lX11 -lXext "
  
positive.code: , cacaSupport        ? true,           libcaca
  , cmsSupport         ? true,           lcms2
  , dvdnavSupport      ? stdenv.isLinux, libdvdnav
  , jackaudioSupport   ? false,          libjack2
  , javascriptSupport  ? true,           mujs
  , libpngSupport      ? true,           libpng
  , openalSupport      ? true,           openalSoft
  , pulseSupport       ? config.pulseaudio or stdenv.isLinux, libpulseaudio
  , rubberbandSupport  ? true,           rubberband
  , screenSaverSupport ? true,           libXScrnSaver
  , sdl2Support        ? true,           SDL2
  
negative.code: , zimgSupport        ? true,           zimg
  }:
  
  let
    luaEnv = lua.withPackages (ps: with ps; [ luasocket ]);
  
  in stdenv.mkDerivation rec {
    pname = "mpv";
    version = "0.35.0";
  
    outputs = [ "out" "dev" "man" ];
  
  