minecraft-server: 1.16.5 -> 1.17

This commit is contained in:
Peter Simons 2021-06-08 18:07:21 +02:00 committed by Tim Steinbach
parent 8582f4cd83
commit 51bb9f3e9a

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, nixosTests, jre_headless }:
stdenv.mkDerivation {
pname = "minecraft-server";
version = "1.16.5";
version = "1.17";
src = fetchurl {
url = "https://launcher.mojang.com/v1/objects/1b557e7b033b583cd9f66746b7a9ab1ec1673ced/server.jar";
url = "https://launcher.mojang.com/v1/objects/0a269b5f2c5b93b1712d0f5dc43b6182b9ab254e/server.jar";
# sha1 because that comes from mojang via api
sha1 = "1b557e7b033b583cd9f66746b7a9ab1ec1673ced";
sha1 = "0a269b5f2c5b93b1712d0f5dc43b6182b9ab254e";
};
preferLocalBuild = true;