anchor.diff:    cmakeFlags = [ "-DENABLE_TOOLS=${if enableTools then "ON" else "OFF"}" ];
   
     enableParallelBuilding = true;
  +
  +  # Wesnoth doesn't support input frameworks and Unicode input breaks when they are enabled.
  +  postInstall = ''
  +    for i in $out/bin/*; do
  +      wrapProgram "$i" --unset XMODIFIERS
  +    done
  +  '';
   
     meta = with stdenv.lib; {
       description = "The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme";
  
positive.code:     sha256 = "0kifp6g1dsr16m6ngjq2hx19h851fqg326ps3krnhpyix963h3x5";
    };
  
    nativeBuildInputs = [ cmake pkgconfig ];
  
    buildInputs = [ SDL SDL_image SDL_mixer SDL_net SDL_ttf pango gettext boost
                    libvorbis fribidi dbus libpng pcre ];
  
negative.code: { stdenv, fetchurl, cmake, pkgconfig, SDL, SDL_image, SDL_mixer, SDL_net, SDL_ttf
  , pango, gettext, boost, freetype, libvorbis, fribidi, dbus, libpng, pcre
  , makeWrapper, enableTools ? false
  }:
  
  stdenv.mkDerivation rec {
  