anchor.diff:    # Note: when raising the version, ensure that all SNAPSHOT versions in
     # build.gradle are replaced by a fixed version
     # (the current one at the time of release) (see postPatch).
  -  version = "121.4";
  +  version = "122";
     buildVersion = makeBuildVersion version;
   
     src = fetchFromGitHub {
       owner = "Anuken";
       repo = "Mindustry";
       rev = "v${version}";
  -    sha256 = "14w0fkn8q5bj84py7vx33wdk9d37ncrq6rdj5ryz4mvlxbix2n4n";
  +    sha256 = "19dxqscnny0c5w3pyg88hflrkhsqgd7zx19240kh4h69y3wwaz0m";
     };
   
     desktopItem = makeDesktopItem {
  
positive.code:     '';
      outputHashAlgo = "sha256";
      outputHashMode = "recursive";
      outputHash = "18n671aa013cnsnp9aaw61llqz4s4vn7zgja8cazd0cg632x8jca";
    };
  
    # Separate commands for building and installing the server and the client
  
negative.code:   nativeBuildInputs = [ gradle_6 makeWrapper ];
  
    buildPhase = with stdenv.lib; ''
      ${preBuild}
      # point to offline repo
      sed -ie "s#mavenLocal()#mavenLocal(); maven { url '${deps}' }#g" build.gradle
      ${optionalString enableClient buildClient}
  