wesnoth: move to pkgs/by-name

This commit is contained in:
Rafael Ieda
2025-10-01 18:57:03 -03:00
parent 7c6a695ef5
commit 3bdfcf7a10
2 changed files with 12 additions and 14 deletions
@@ -12,7 +12,7 @@
SDL2_ttf,
pango,
gettext,
boost,
boost186,
libvorbis,
fribidi,
dbus,
@@ -20,11 +20,21 @@
pcre,
openssl,
icu,
lua,
lua5_4,
curl,
nix-update-script,
}:
let
boost = boost186;
# wesnoth requires lua built with c++, see https://github.com/wesnoth/wesnoth/pull/8234
lua = lua5_4.override {
postConfigure = ''
makeFlagsArray+=("CC=$CXX")
'';
};
in
stdenv.mkDerivation (finalAttrs: {
pname = "wesnoth";
version = "1.18.5";
-12
View File
@@ -13917,18 +13917,6 @@ with pkgs;
warsow = callPackage ../games/warsow { };
wesnoth = callPackage ../games/wesnoth {
boost = boost186;
# wesnoth requires lua built with c++, see https://github.com/wesnoth/wesnoth/pull/8234
lua = lua5_4.override {
postConfigure = ''
makeFlagsArray+=("CC=$CXX")
'';
};
};
wesnoth-dev = wesnoth;
inherit (callPackage ../games/xonotic { })
xonotic-data
xonotic