anchor.diff:    };
   
     enableParallelBuilding = true;
  -  nativeBuildInputs = [ pkgconfig cmake ];
  +  nativeBuildInputs = [ makeWrapper pkgconfig cmake ];
   
     buildInputs = [
       libzip epoxy ffmpeg imagemagick SDL2 qtbase qtmultimedia libedit minizip
  
positive.code: { stdenv, fetchFromGitHub, fetchpatch, pkgconfig, cmake, libzip, epoxy, ffmpeg
  , imagemagick, SDL2, qtbase, qtmultimedia, qttools, libedit, minizip }:
  
  stdenv.mkDerivation rec {
    name = "mgba-${version}";
    version = "0.6.3";
  
  
negative.code:       url = "https://github.com/mgba-emu/mgba/commit/7f41dd354176b720c8e3310553c6b772278b9dca.patch";
        sha256 = "0j334v8wf594kg8s1hngmh58wv1pi003z8avy6fjhj5qpjmbbavh";
    })];
  
    postInstall = ''
      cp -r ${desktopItem}/share/applications $out/share
      wrapProgram $out/bin/mgba-qt --suffix QT_PLUGIN_PATH : \
        ${qtbase.bin}/${qtbase.qtPluginPrefix}
    '';
  
    meta = with stdenv.lib; {
      homepage = https://mgba.io;
  