papermc: 1.19.3.375 -> 1.20.1.83
This commit is contained in:
parent
5799b3d4dd
commit
ae910ed9b8
1 changed files with 2 additions and 2 deletions
|
@ -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