mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
papermc: 1.19.3.375 -> 1.20.1.83
This commit is contained in:
parent
5799b3d4dd
commit
ae910ed9b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user