3
0
Fork 0
forked from mirrors/nixpkgs

wesnoth: remove enableTools option as it was removed from wesnoth

This commit is contained in:
Evgeny Kurnevsky 2021-11-15 12:01:59 +03:00
parent 36a614fe66
commit 8c2acce1d6
No known key found for this signature in database
GPG key ID: 8FF444E5412D750C

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 = ''