3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #182621 from lourkeur/update/polymc

polymc: 1.3.2 -> 1.4.0
This commit is contained in:
Felix Bühler 2022-07-23 23:40:16 +02:00 committed by GitHub
commit ba0be2bc5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,21 +16,22 @@
, openal
, msaClientID ? ""
, jdks ? [ jdk jdk8 ]
, extra-cmake-modules
}:
stdenv.mkDerivation rec {
pname = "polymc";
version = "1.3.2";
version = "1.4.0";
src = fetchFromGitHub {
owner = "PolyMC";
repo = "PolyMC";
rev = version;
sha256 = "sha256-hqsyS82UzgCUZ9HjoPKjOLE49fwLntRAh3mVrTsmi3o=";
sha256 = "sha256-gaPqCAC/tE6nUONgWSrVm3oBzSnOhZ5xiAJ+QyX+8rA=";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake file jdk wrapQtAppsHook ];
nativeBuildInputs = [ extra-cmake-modules cmake file jdk wrapQtAppsHook ];
buildInputs = [ qtbase zlib quazip ];
cmakeFlags = lib.optionals (msaClientID != "") [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ];