anchor.diff:  
     hardeningDisable = [ "format" ];
     cmakeFlags = [ "-DCMAKE_INCLUDE_PATH=${cryptopp}/include/cryptopp" ];
  -  installFlags = [ "DESTDIR=${placeholder "out"}" ];
   
     buildInputs = [
       glew freeimage liblockfile openal cryptopp libtheora SDL2 lzo
  
positive.code:   '';
  
    postInstall = ''
      mv $out/var/empty/* $out
      install -Dm755 $out/games/xr_3da $out/bin/xr_3da
      install -Dm644 $src/License.txt $out/share/licenses/openxray/License.txt
      rm -r $out/var $out/games
  
      # needed because of SDL_LoadObject library loading code
      wrapProgram $out/bin/xr_3da \
        --prefix LD_LIBRARY_PATH : $out/lib
  
negative.code: , pcre, makeWrapper }:
  
  let
    version = "730-july-preview";
  
    src = fetchFromGitHub {
      owner = "OpenXRay";
      repo = "xray-16";
      rev = version;
      sha256 = "1nish3sbpk0hsag7r4nyx8j6pl9mlgx58v8dhzg2vwj2q32isyb2";
      fetchSubmodules = true;
    };
  
  