mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
added Battle for Wesnoth, a free, turn-based strategy game
svn path=/nixpkgs/branches/stdenv-updates/; revision=10596
This commit is contained in:
parent
734a1b39e0
commit
25b980dbe4
22
pkgs/games/wesnoth/default.nix
Normal file
22
pkgs/games/wesnoth/default.nix
Normal file
@ -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.
|
||||
";
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user