commit 7d0393110e567fde2352e52c10caed8200c397a5
parent 61931ec2ed7f5ecf4f23a61c439a781061f4a451
Author: Leah (ctucx) <git@ctu.cx>
Date: Fri, 15 Nov 2024 17:36:38 +0100
parent 61931ec2ed7f5ecf4f23a61c439a781061f4a451
Author: Leah (ctucx) <git@ctu.cx>
Date: Fri, 15 Nov 2024 17:36:38 +0100
pkgs: remove `minecraft-bedrock-server`
1 file changed, 0 insertions(+), 35 deletions(-)
diff --git a/pkgs/minecraft-bedrock-server.nix b/pkgs/minecraft-bedrock-server.nix @@ -1,35 +0,0 @@ -{ stdenv, fetchurl, patchelf, autoPatchelfHook, curl, gcc-unwrapped, openssl, unzip }: - -stdenv.mkDerivation rec { - pname = "minecraft-bedrock-server"; - version = "1.21.1.03"; - src = fetchurl { - url = "https://minecraft.azureedge.net/bin-linux/bedrock-server-${version}.zip"; - sha256 = "sha256-96re6vDreW+hQsozi4xwjS+5EsAaKju5fZAQpRK7bqs="; - }; - sourceRoot = "."; - nativeBuildInputs = [ - (patchelf.overrideDerivation(old: { - postPatch = '' - substituteInPlace src/patchelf.cc \ - --replace "32 * 1024 * 1024" "512 * 1024 * 1024" - ''; - })) - autoPatchelfHook - curl - gcc-unwrapped - openssl - unzip - ]; - installPhase = '' - install -m755 -D bedrock_server $out/bin/bedrock_server - rm bedrock_server - rm server.properties - rm permissions.json - mkdir -p $out/var - cp -a . $out/var/lib - ''; - fixupPhase = '' - autoPatchelf $out/bin/bedrock_server - ''; -}