anchor.diff:      fetchSubmodules = true;
       sha256 = "07qj1lpp21g4p583gvz5h66y2q71ymbsz4g5nr6dcys0vm7ph88v";
     };
  -
  -  # https://github.com/OpenXRay/xray-16/issues/518
  -  ancientCryptopp = stdenv.mkDerivation {
  -    pname = "cryptopp";
  -    version = "5.6.5";
  -
  -    inherit src;
  -
  -    sourceRoot = "source/Externals/cryptopp";
  -
  -    installFlags = [ "PREFIX=${placeholder "out"}" ];
  -
  -    enableParallelBuilding = true;
  -
  -    doCheck = true;
  -
  -    dontStrip = true;
  -
  -    meta = with lib; {
  -      description = "Crypto++, a free C++ class library of cryptographic schemes";
  -      homepage = "https://cryptopp.com/";
  -      license = with licenses; [ boost publicDomain ];
  -      platforms = platforms.all;
  -      knownVulnerabilities = [
  -        "CVE-2019-14318"
  -      ];
  -    };
  -  };
  -in
  -stdenv.mkDerivation rec {
  -  pname = "openxray";
  -
  -  inherit version src;
   
     nativeBuildInputs = [
       cmake
  
positive.code: , libogg
  , pcre
  , makeWrapper
  , enableMultiplayer ? false # Requires old, insecure Crypto++ version
  }:
  
  let
    version = "1144-december-2021-rc1";
  
    src = fetchFromGitHub {
  
negative.code:     libjpeg
      libogg
      pcre
    ];
  
    # Crashes can happen, we'd like them to be reasonably debuggable
    cmakeBuildType = "RelWithDebInfo";
    dontStrip = true;
  
    postInstall = ''
      # needed because of SDL_LoadObject library loading code
  