From b7c5c2954bec282a358a587e26228686d61ddb26 Mon Sep 17 00:00:00 2001 From: GetPsyched Date: Tue, 4 Jun 2024 08:30:35 +0400 Subject: [PATCH] atlauncher: update meta attributes - Remove nested `with` in meta. See: https://nix.dev/guides/best-practices#with-scopes - Add changelog --- pkgs/by-name/at/atlauncher/package.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/at/atlauncher/package.nix b/pkgs/by-name/at/atlauncher/package.nix index 428ffffd8836..a2a97daa549b 100644 --- a/pkgs/by-name/at/atlauncher/package.nix +++ b/pkgs/by-name/at/atlauncher/package.nix @@ -77,14 +77,15 @@ stdenv.mkDerivation (finalAttrs: { }) ]; - meta = with lib; { + meta = { + changelog = "https://github.com/ATLauncher/ATLauncher/blob/v${finalAttrs.version}/CHANGELOG.md"; description = "A simple and easy to use Minecraft launcher which contains many different modpacks for you to choose from and play"; downloadPage = "https://atlauncher.com/downloads"; homepage = "https://atlauncher.com"; - license = licenses.gpl3; + license = lib.licenses.gpl3; mainProgram = "atlauncher"; - maintainers = [ maintainers.getpsyched ]; - platforms = platforms.all; - sourceProvenance = [ sourceTypes.binaryBytecode ]; + maintainers = with lib.maintainers; [ getpsyched ]; + platforms = lib.platforms.all; + sourceProvenance = [ lib.sourceTypes.binaryBytecode ]; }; })