Merge pull request #126238 from NixOS/backport-126226-to-release-21.05

[Backport release-21.05] minecraft-server: 1.16.5 -> 1.17
This commit is contained in:
Artturi 2021-08-06 23:47:13 +03:00 committed by GitHub
commit 9f9f6563cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

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;