summary refs log tree commit diff
path: root/modules/packages/mc/server
diff options
context:
space:
mode:
Diffstat (limited to 'modules/packages/mc/server')
-rw-r--r--modules/packages/mc/server/modpack/curseforge/techopolis-2/5.4.nix36
-rw-r--r--modules/packages/mc/server/vanilla/1.19.2.nix31
2 files changed, 0 insertions, 67 deletions
diff --git a/modules/packages/mc/server/modpack/curseforge/techopolis-2/5.4.nix b/modules/packages/mc/server/modpack/curseforge/techopolis-2/5.4.nix
deleted file mode 100644
index e150b7f..0000000
--- a/modules/packages/mc/server/modpack/curseforge/techopolis-2/5.4.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ lib, stdenv, pkgs, jdk17, makeWrapper }:
-
-let 
-  url = "https://mediafilez.forgecdn.net/files/4824/587/Techopolis_2_server_pack.zip";
-  hash = "sha256-4Ig4v8c14kxzJFeHPYv/w44c0/KkayoFc3rOuxxB+9s=";
-  name = "techopolis-2";
-  version = "5.4";
-  
-in stdenv.mkDerivation {
-  name = name;
-  
-  #sources
-  src = pkgs.fetchzip {
-    url = url;
-    stripRoot = false;
-    hash = hash;
-    name = "server";
-  };
-  forgeJar = import ../../../../modloaders/forge/1.19.2/43.2.11.nix;
-
-  phases = [
-    "unpackPhase"
-    "installPhase"
-  ];
-  buildInputs = [ jdk17 makeWrapper ];
-  installPhase = ''
-  ls -lah
-    # Create the wrapper script
-    mkdir -p $out/bin
-    mkdir -p $out/lib
-    cp -r * $out/lib
-    makeWrapper ${jdk17}/bin/java $out/bin/mc-${name}-${version}-server \
-      --set JAVA_HOME ${jdk17} \
-      --add-args "-Dlog4j2.formatMsgNoLookups=true"
-  '';
-}
diff --git a/modules/packages/mc/server/vanilla/1.19.2.nix b/modules/packages/mc/server/vanilla/1.19.2.nix
deleted file mode 100644
index 3ad79e8..0000000
--- a/modules/packages/mc/server/vanilla/1.19.2.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ lib, stdenv, pkgs, jdk17, makeWrapper }:
-
-let 
-  url = "https://piston-data.mojang.com/v1/objects/f69c284232d7c7580bd89a5a4931c3581eae1378/server.jar";
-  hash = "sha256-4Ig4v8c14kxzJFeHPYv/w44c0/KkayoFc3rOuxxB+9s=";
-  name = "vanilla";
-  version = "1.19.2";
-in stdenv.mkDerivation {
-  name = name;
-  src = pkgs.fetchzip {
-    url = url;
-    stripRoot = false;
-    hash = hash;
-    name = "server";
-  };
-  phases = [
-    "unpackPhase"
-    "installPhase"
-  ];
-  buildInputs = [ jdk17 makeWrapper ];
-  installPhase = ''
-  ls -lah
-    # Create the wrapper script
-    mkdir -p $out/bin
-    mkdir -p $out/lib
-    cp -r * $out/lib
-    makeWrapper ${jdk17}/bin/java $out/bin/mc-${name}-${version}-server \
-      --set JAVA_HOME ${jdk17} \
-      --add-args "-Dlog4j2.formatMsgNoLookups=true"
-  '';
-}