aboutsummaryrefslogtreecommitdiff
path: root/pkgs/games/asc
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-08-29 09:43:46 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-08-29 09:43:46 +0000
commit2377a46c8f265b3ac8739aa8b1ba2822373dc3a4 (patch)
tree3a3255c7de4184d3ac3f0e84524ae1379ddaa165 /pkgs/games/asc
parent159474361cc8c4928ca7ec24fffe41d47065470d (diff)
Adding the game Advanced Strategic Command.
I had to add an old version of libsigc++ for it. svn path=/nixpkgs/trunk/; revision=23490
Diffstat (limited to 'pkgs/games/asc')
-rw-r--r--pkgs/games/asc/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/games/asc/default.nix b/pkgs/games/asc/default.nix
new file mode 100644
index 000000000000..86cf929aede7
--- /dev/null
+++ b/pkgs/games/asc/default.nix
@@ -0,0 +1,34 @@
+{ fetchurl, stdenv, SDL, SDL_image, SDL_mixer, SDL_sound, libsigcxx, physfs
+, boost, expat, freetype, libjpeg, wxGTK, lua, perl, pkgconfig, zlib, zip, bzip2,
+libpng }:
+
+stdenv.mkDerivation rec {
+ name = "asc-2.4.0.0";
+
+ src = fetchurl {
+ url = "mirror://sourceforge/asc-hq/${name}.tar.bz2";
+ sha256 = "1r011l4gsliky6szjvda8xzyhkkc50ahrr7p14911v5ydar0w3hh";
+ };
+
+ buildInputs = [
+ SDL SDL_image SDL_mixer SDL_sound libsigcxx physfs boost expat freetype
+ libjpeg wxGTK lua perl pkgconfig zlib zip bzip2 libpng
+ ];
+
+ meta = {
+ description = "Turn based strategy game";
+
+ longDescription = ''
+ Advanced Strategic Command is a free, turn based strategy game. It is
+ designed in the tradition of the Battle Isle series from Bluebyte and is
+ currently available for Windows and Linux.
+ '';
+
+ homepage = http://www.asc-hq.org/;
+
+ license = "GPLv2+";
+
+ maintainers = with stdenv.lib.maintainers; [viric];
+ platforms = with stdenv.lib.platforms; linux;
+ };
+}