anchor.diff:      "-DBUILD_PRESET=everything"
       # The upstream project recommends tagging the distribution
       "-DDISTR_TAG=Nixpkgs"
  -    "-DENGINE_BUILDTAG=${version}"
  +    "-DENGINE_BUILDTAG=${finalAttrs.version}"
       "-DHYBRID_SDL=on"
       "-DBUILTIN_LUA=${if useBuiltinLua then "on" else "off"}"
       "-DDISABLE_JIT=${if useBuiltinLua then "on" else "off"}"
  
positive.code: , useStaticSqlite ? false
  }:
  
  stdenv.mkDerivation rec {
    pname = "arcan" + lib.optionalString useStaticOpenAL "-static-openal";
    version = "0.6.2";
  
    src = fetchFromGitHub {
      owner = "letoram";
      repo = "arcan";
      rev = version;
      hash = "sha256-Qwyt927eLqaCqJ4Lo4J1lQX2A24ke+AH52rmSCTnpO0=";
    };
  
  
negative.code:     maintainers = with maintainers; [ AndersonTorres ];
      platforms = platforms.unix;
    };
  })
  