forked from mirrors/nixpkgs
wesnoth: remove enableTools option as it was removed from wesnoth
This commit is contained in:
parent
36a614fe66
commit
8c2acce1d6
|
@ -1,7 +1,6 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, SDL2, SDL2_image, SDL2_mixer, SDL2_net, SDL2_ttf
|
{ 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
|
, pango, gettext, boost, libvorbis, fribidi, dbus, libpng, pcre, openssl, icu
|
||||||
, Cocoa, Foundation
|
, Cocoa, Foundation
|
||||||
, enableTools ? false
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -21,8 +20,6 @@ stdenv.mkDerivation rec {
|
||||||
libvorbis fribidi dbus libpng pcre openssl icu ]
|
libvorbis fribidi dbus libpng pcre openssl icu ]
|
||||||
++ lib.optionals stdenv.isDarwin [ Cocoa Foundation];
|
++ lib.optionals stdenv.isDarwin [ Cocoa Foundation];
|
||||||
|
|
||||||
cmakeFlags = [ "-DENABLE_TOOLS=${if enableTools then "ON" else "OFF"}" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme";
|
description = "The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue