anchor.diff:      cmake
       ffmpeg
       gettext
  -    gtk2-x11
       libGLU_combined
       openal
       pkgconfig
       SDL2
       sfml
  -    wxGTK
       zip
       zlib
     ];
  
positive.code:   cmakeFlags = [
      "-DCMAKE_BUILD_TYPE='Release'"
      "-DENABLE_FFMPEG='true'"
      #"-DENABLE_LINK='true'" currently broken :/
      "-DSYSCONFDIR=etc"
    ];
  
    meta = {
  
negative.code: , fetchFromGitHub
  , ffmpeg
  , gettext
  , libGLU_combined
  , openal
  , pkgconfig
  , SDL2
  , sfml
  , zip
  , zlib
  }:
  
  stdenv.mkDerivation rec {
    name = "visualboyadvance-m-${version}";
    version = "2.1.0";
    src = fetchFromGitHub {
      owner = "visualboyadvance-m";
      repo = "visualboyadvance-m";
      rev = "v${version}";
      sha256 = "1dppfvy24rgg3h84gv33l1y7zznkv3zxn2hf98w85pca6k1y2afz";
    };
  
    buildInputs = [
  