diff options
author | Evgeny Kurnevsky <kurnevsky@gmail.com> | 2024-03-24 15:07:27 +0300 |
---|---|---|
committer | Evgeny Kurnevsky <kurnevsky@gmail.com> | 2024-03-24 19:49:27 +0300 |
commit | a5be355ddc9c877bc4f4ecfb74831a4359a3a6de (patch) | |
tree | 294852b88aef13785cd089373e10696a61cd8b78 /pkgs/games/wesnoth | |
parent | c95e47775fd13f2ec10014b746a53343c2f0b25f (diff) |
wesnoth: 1.16.11 -> 1.18.0
Diffstat (limited to 'pkgs/games/wesnoth')
-rw-r--r-- | pkgs/games/wesnoth/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/games/wesnoth/default.nix b/pkgs/games/wesnoth/default.nix index 9afbdf1913b0f..54a7aaa822c32 100644 --- a/pkgs/games/wesnoth/default.nix +++ b/pkgs/games/wesnoth/default.nix @@ -1,26 +1,31 @@ { 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 +, lua, curl , Cocoa, Foundation }: stdenv.mkDerivation rec { pname = "wesnoth"; - version = "1.16.11"; + version = "1.18.0"; src = fetchFromGitHub { rev = version; owner = "wesnoth"; repo = "wesnoth"; - hash = "sha256-nnAMMc1pPYOziaHGUfh8LevECBb/lzCkaPyzFWs4zTY="; + hash = "sha256-Db1OwBTA/2jjhu/fOZhwGo7dWV3mZ40y6hTNCCjaRJQ="; }; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_net SDL2_ttf pango gettext boost - libvorbis fribidi dbus libpng pcre openssl icu ] + libvorbis fribidi dbus libpng pcre openssl icu lua curl ] ++ lib.optionals stdenv.isDarwin [ Cocoa Foundation]; + cmakeFlags = [ + "-DENABLE_SYSTEM_LUA=ON" + ]; + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework AppKit"; meta = with lib; { |