nixpkgs/pkgs/games/wesnoth/default.nix
Eelco Dolstra fcad0b0a5a * Cleaned up a lot of description fields that contained newlines.
Some of these should be longDescriptions, but most others just
  shouldn't contain newlines.  E.g. write

    description = "Bla";

  and not

    description = ''
      Bla
    '';

  This pollutes "nix-env -qa --description" output.

svn path=/nixpkgs/trunk/; revision=14310
2009-03-03 13:27:40 +00:00

22 lines
666 B
Nix

args: with args;
stdenv.mkDerivation rec {
pname = "wesnoth";
version = "1.4.1";
name = "${pname}-${version}";
src = fetchurl {
url = "http://surfnet.dl.sourceforge.net/sourceforge/${pname}/${name}.tar.bz2";
sha256 = "c5b7b478553dc8994d99024e14b48b3f64e2c328631bd5b05904509b499fa68c";
};
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, a free, turn-based strategy game with a fantasy theme";
};
}