about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2008-02-10 17:40:08 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2008-02-10 17:40:08 +0000
commit25b980dbe4b6b6c9d2213a5bb888c55f13413029 (patch)
treecc368f0349f50f2b3f508b8a41cf0eae9bb29f48
parent734a1b39e0b85e376cd2671bf4274f8de4cd6c18 (diff)
downloadnixlib-25b980dbe4b6b6c9d2213a5bb888c55f13413029.tar
nixlib-25b980dbe4b6b6c9d2213a5bb888c55f13413029.tar.gz
nixlib-25b980dbe4b6b6c9d2213a5bb888c55f13413029.tar.bz2
nixlib-25b980dbe4b6b6c9d2213a5bb888c55f13413029.tar.lz
nixlib-25b980dbe4b6b6c9d2213a5bb888c55f13413029.tar.xz
nixlib-25b980dbe4b6b6c9d2213a5bb888c55f13413029.tar.zst
nixlib-25b980dbe4b6b6c9d2213a5bb888c55f13413029.zip
added Battle for Wesnoth, a free, turn-based strategy game
svn path=/nixpkgs/branches/stdenv-updates/; revision=10596
-rw-r--r--pkgs/games/wesnoth/default.nix22
1 files changed, 22 insertions, 0 deletions
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.
+";
+  };
+})