atlauncher: add compat for sourceProvenance

Occasionally gets evaluated with nixpkgs-22.05 which doesn't have these
definitions.
This commit is contained in:
xeals 2023-03-06 10:44:10 +11:00
parent 561afaf18c
commit 71f6ac0f46
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C

View File

@ -29,15 +29,17 @@ stdenv.mkDerivation rec {
--add-flags "--working-dir \''${XDG_DATA_HOME:-\$HOME/.local/share}/ATLauncher"
'';
meta = with lib; {
meta = {
description = "Minecraft launcher";
longDescription = ''
ATLauncher is a Launcher for Minecraft which integrates multiple different
ModPacks to allow you to download and install ModPacks easily and quickly.
'';
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.gpl3Only;
platforms = platforms.all;
sourceProvenance = [
(lib.sourceTypes.binaryBytecode or { shortName = "binaryBytecode"; isSource = false; })
];
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
homepage = "https://atlauncher.com/";
};
}