Commit fac73552 authored by Weijia Wang's avatar Weijia Wang
Browse files

wesnoth: 1.16.7 -> 1.16.8

parent 3cbe06b8
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -5,13 +5,13 @@

stdenv.mkDerivation rec {
  pname = "wesnoth";
  version = "1.16.7";
  version = "1.16.8";

  src = fetchFromGitHub {
    rev = version;
    owner = "wesnoth";
    repo = "wesnoth";
    sha256 = "sha256-YcBF/iNr6Q5NaA+G55xa0SOCCHW2BCoJlmXsTtkF1fk=";
    hash = "sha256-P7OUiKJxJZ0rGdesnxpQMbRBgCHsLpyt8+pRDh27JYQ=";
  };

  nativeBuildInputs = [ cmake pkg-config ];
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
                  libvorbis fribidi dbus libpng pcre openssl icu ]
                ++ lib.optionals stdenv.isDarwin [ Cocoa Foundation];

  NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework AppKit";

  meta = with lib; {
    description = "The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme";
    longDescription = ''