- Use Nix store path for the shebang to make this work on systems without /bin/sh. - Replace phases by dont*. - Install jar file to $out/share/papermc rather than $out. - License gpl3 -> gpl3Only (couldn't find any evidence that this is gpl3Plus).
go