Merge pull request #146102 from kurnevsky/wesnoth

wesnoth: remove enableTools option as it was removed from wesnoth
This commit is contained in:
0x4A6F 2021-12-05 20:05:06 +01:00 committed by GitHub
commit 974c2a13a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, SDL2, SDL2_image, SDL2_mixer, SDL2_net, SDL2_ttf
, pango, gettext, boost, libvorbis, fribidi, dbus, libpng, pcre, openssl, icu
, Cocoa, Foundation
, enableTools ? false
}:
stdenv.mkDerivation rec {
@ -21,8 +20,6 @@ stdenv.mkDerivation rec {
libvorbis fribidi dbus libpng pcre openssl icu ]
++ lib.optionals stdenv.isDarwin [ Cocoa Foundation];
cmakeFlags = [ "-DENABLE_TOOLS=${if enableTools then "ON" else "OFF"}" ];
meta = with lib; {
description = "The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme";
longDescription = ''