papermc: 1.19.3.375 -> 1.20.1.83

This commit is contained in:
SEKUN 2023-07-17 16:10:00 +00:00 committed by GitHub
parent 5799b3d4dd
commit ae910ed9b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,14 @@
stdenv.mkDerivation rec {
pname = "papermc";
version = "1.19.3.375";
version = "1.20.1.83";
jar = let
mcVersion = lib.versions.pad 3 version;
buildNum = builtins.elemAt (lib.versions.splitVersion version) 3;
in fetchurl {
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;