From 2ea2bd5f9971abc9896d00a15d46e36665ae36df Mon Sep 17 00:00:00 2001 From: Tobias Hammerschmidt Date: Wed, 6 Feb 2008 21:18:46 +0000 Subject: [PATCH] added Battle for Wesnoth, a free, turn-based strategy game svn path=/nixpkgs/trunk/; revision=10529 --- pkgs/games/wesnoth/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pkgs/games/wesnoth/default.nix diff --git a/pkgs/games/wesnoth/default.nix b/pkgs/games/wesnoth/default.nix new file mode 100644 index 000000000000..3e4cf07e5c53 --- /dev/null +++ b/pkgs/games/wesnoth/default.nix @@ -0,0 +1,22 @@ +args: with args; +stdenv.mkDerivation (rec { + pname = "wesnoth"; + version = "1.3.15"; + + name = "${pname}-${version}"; + + src = fetchurl { + url = "http://surfnet.dl.sourceforge.net/sourceforge/${pname}/${name}.tar.bz2"; + sha256 = "5c5c723bdef0b9872a20a4ee11365f050251baed375ee951db726bf82401766e"; + }; + + buildInputs = [SDL SDL_image SDL_mixer SDL_net gettext zlib boost freetype]; + + configureFlags = "--with-preferences-dir=.${name} --program-suffix=-${version} --with-datadir-name=${name} --with-boost=${boost}/include --disable-python"; + + meta = { + description = " + The Battle for Wesnoth is a free, turn-based strategy game with a fantasy theme. +"; + }; +})