wesnoth: move to pkgs/by-name

+12 -14
+12 -2
pkgs/games/wesnoth/default.nix pkgs/by-name/we/wesnoth/package.nix
··· 12 SDL2_ttf, 13 pango, 14 gettext, 15 - boost, 16 libvorbis, 17 fribidi, 18 dbus, ··· 20 pcre, 21 openssl, 22 icu, 23 - lua, 24 curl, 25 nix-update-script, 26 }: 27 28 stdenv.mkDerivation (finalAttrs: { 29 pname = "wesnoth";
··· 12 SDL2_ttf, 13 pango, 14 gettext, 15 + boost186, 16 libvorbis, 17 fribidi, 18 dbus, ··· 20 pcre, 21 openssl, 22 icu, 23 + lua5_4, 24 curl, 25 nix-update-script, 26 }: 27 + 28 + let 29 + boost = boost186; 30 + # wesnoth requires lua built with c++, see https://github.com/wesnoth/wesnoth/pull/8234 31 + lua = lua5_4.override { 32 + postConfigure = '' 33 + makeFlagsArray+=("CC=$CXX") 34 + ''; 35 + }; 36 + in 37 38 stdenv.mkDerivation (finalAttrs: { 39 pname = "wesnoth";
-12
pkgs/top-level/all-packages.nix
··· 13917 13918 warsow = callPackage ../games/warsow { }; 13919 13920 - wesnoth = callPackage ../games/wesnoth { 13921 - boost = boost186; 13922 - # wesnoth requires lua built with c++, see https://github.com/wesnoth/wesnoth/pull/8234 13923 - lua = lua5_4.override { 13924 - postConfigure = '' 13925 - makeFlagsArray+=("CC=$CXX") 13926 - ''; 13927 - }; 13928 - }; 13929 - 13930 - wesnoth-dev = wesnoth; 13931 - 13932 inherit (callPackage ../games/xonotic { }) 13933 xonotic-data 13934 xonotic
··· 13917 13918 warsow = callPackage ../games/warsow { }; 13919 13920 inherit (callPackage ../games/xonotic { }) 13921 xonotic-data 13922 xonotic