wesnoth: stylistic changes

+7 -7
+7 -7
pkgs/games/wesnoth/default.nix
··· 26 26 nix-update-script, 27 27 }: 28 28 29 - stdenv.mkDerivation rec { 29 + stdenv.mkDerivation (finalAttrs: { 30 30 pname = "wesnoth"; 31 31 version = "1.18.4"; 32 32 33 33 src = fetchFromGitHub { 34 - rev = version; 35 34 owner = "wesnoth"; 36 35 repo = "wesnoth"; 36 + tag = finalAttrs.version; 37 37 hash = "sha256-c3BoTFnSUqtp71QeSCsC2teVuzsQwV8hOJtIcZdP+1E="; 38 38 }; 39 39 ··· 131 131 ]; 132 132 }; 133 133 134 - meta = with lib; { 134 + meta = { 135 135 description = "Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme"; 136 136 longDescription = '' 137 137 The Battle for Wesnoth is a Free, turn-based tactical strategy ··· 142 142 ''; 143 143 144 144 homepage = "https://www.wesnoth.org/"; 145 - license = licenses.gpl2Plus; 146 - maintainers = with maintainers; [ abbradar ]; 147 - platforms = platforms.unix; 145 + license = lib.licenses.gpl2Plus; 146 + maintainers = with lib.maintainers; [ abbradar ]; 147 + platforms = lib.platforms.unix; 148 148 mainProgram = "wesnoth"; 149 149 }; 150 - } 150 + })