anchor.diff:    # cp: cannot create regular file './internal_defaults.json': File exists
     enableParallelBuilding = false;
   
  -  # The samplerate patch should be removed when HandBrake 1.3.0 is released
  -  patches = [(fetchpatch {
  -    name = "set-ffmpeg-samplerate.patch";
  -    url = "https://patch-diff.githubusercontent.com/raw/HandBrake/HandBrake/pull/2126.patch";
  -    sha256 = "00lds9h27cvyr53qpvv8gbv01hfxdxd8gphxcwbwg8akqrvk9gbf";
  -  })];
  -
     preConfigure = ''
       patchShebangs scripts
   
  
positive.code: { stdenv, lib, fetchurl, fetchpatch,
    # Main build tools
    python2, pkgconfig, autoconf, automake, cmake, nasm, libtool, m4, lzma,
    # Processing, video codecs, containers
    ffmpeg-full, nv-codec-headers, libogg, x264, x265, libvpx, libtheora,
    # Codecs, audio
    libopus, lame, libvorbis, a52dec, speex, libsamplerate,
    # Text processing
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "handbrake";
    version = "1.3.0";
  
    src = fetchurl {
      url = ''https://download2.handbrake.fr/${version}/HandBrake-${version}-source.tar.bz2'';
      sha256 = "15hxncswmaj62hb40fxixsa6d519zb712z9xbdq979q4rasjxa59";
    };
  
    nativeBuildInputs = [
  