1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 18:03:22 +00:00

Merge pull request #148070 from robintown/minecraft-server

minecraft-server: 1.17.1 -> 1.18
This commit is contained in:
Thiago Kenji Okada 2021-12-01 10:45:00 -03:00 committed by GitHub
commit feb856803c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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