2010-08-29 10:43:46 +01:00
|
|
|
{ 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";
|
|
|
|
};
|
|
|
|
|
2013-03-17 11:02:55 +00:00
|
|
|
configureFlags = [ "--disable-paragui" "--disable-paraguitest" ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-fpermissive"; # I'm too lazy to catch all gcc47-related problems
|
|
|
|
|
2010-08-29 10:43:46 +01:00
|
|
|
buildInputs = [
|
2014-09-19 18:56:08 +01:00
|
|
|
SDL SDL_image SDL_mixer SDL_sound libsigcxx physfs boost boost.lib expat
|
|
|
|
freetype libjpeg wxGTK lua perl pkgconfig zlib zip bzip2 libpng
|
2010-08-29 10:43:46 +01:00
|
|
|
];
|
|
|
|
|
2014-09-19 18:56:08 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-08-29 10:43:46 +01:00
|
|
|
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/;
|
|
|
|
|
2014-09-19 18:56:08 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2010-08-29 10:43:46 +01:00
|
|
|
|
2014-09-19 18:56:08 +01:00
|
|
|
maintainers = with maintainers; [ viric ];
|
|
|
|
platforms = with platforms; linux;
|
2010-08-29 10:43:46 +01:00
|
|
|
};
|
|
|
|
}
|