Merge pull request #111596 from neonfuz/papermc

This commit is contained in:
Sandro 2021-02-01 19:40:02 +01:00 committed by GitHub
commit b1c3c4becd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,10 @@
{ lib, stdenv, fetchurl, bash, jre }: { lib, stdenv, fetchurl, bash, jre }:
let let
mcVersion = "1.16.4"; mcVersion = "1.16.5";
buildNum = "296"; buildNum = "457";
jar = fetchurl { jar = fetchurl {
url = "https://papermc.io/api/v1/paper/${mcVersion}/${buildNum}/download"; url = "https://papermc.io/api/v1/paper/${mcVersion}/${buildNum}/download";
sha256 = "0885417w7qahk2fwlzvggbwrhvwgpd7xas8lzzb7ar469vyvd9dz"; sha256 = "1xkjaj5wgm9rmzk8mz20n9vd674fynvdgqsy96c9bfifa03lsnmc";
}; };
in stdenv.mkDerivation { in stdenv.mkDerivation {
pname = "papermc"; pname = "papermc";
@ -31,6 +31,6 @@ in stdenv.mkDerivation {
homepage = "https://papermc.io/"; homepage = "https://papermc.io/";
license = lib.licenses.gpl3Only; license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ aaronjanse ]; maintainers = with lib.maintainers; [ aaronjanse neonfuz ];
}; };
} }