Merge pull request #244001 from sekunho/update-papermc
papermc: 1.19.3.375 -> 1.20.1.83
This commit is contained in:
commit
64e49dc23b
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "papermc";
|
pname = "papermc";
|
||||||
version = "1.19.3.375";
|
version = "1.20.1.83";
|
||||||
|
|
||||||
jar = let
|
jar = let
|
||||||
mcVersion = lib.versions.pad 3 version;
|
mcVersion = lib.versions.pad 3 version;
|
||||||
buildNum = builtins.elemAt (lib.versions.splitVersion version) 3;
|
buildNum = builtins.elemAt (lib.versions.splitVersion version) 3;
|
||||||
in fetchurl {
|
in fetchurl {
|
||||||
url = "https://papermc.io/api/v2/projects/paper/versions/${mcVersion}/builds/${buildNum}/downloads/paper-${mcVersion}-${buildNum}.jar";
|
url = "https://papermc.io/api/v2/projects/paper/versions/${mcVersion}/builds/${buildNum}/downloads/paper-${mcVersion}-${buildNum}.jar";
|
||||||
sha256 = "sha256-NAl4+mCkO6xQQpIx2pd9tYX2N8VQa+2dmFwyBNbDa10=";
|
sha256 = "sha256-HQpc3MOXa1wkXqgm9ciQj04FUIyuupnYiu+2RZ/sXE4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
|
|
Loading…
Reference in a new issue