2010-08-29 13:43:46 +04:00
|
|
|
{ fetchurl, stdenv, SDL, SDL_image, SDL_mixer, SDL_sound, libsigcxx, physfs
|
|
|
|
, boost, expat, freetype, libjpeg, wxGTK, lua, perl, pkgconfig, zlib, zip, bzip2,
|
2017-08-29 17:07:32 +03:00
|
|
|
libpng, libtiff, fluidsynth, libmikmod }:
|
2010-08-29 13:43:46 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-29 17:07:32 +03:00
|
|
|
name = "asc-2.6.0.0";
|
2010-08-29 13:43:46 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/asc-hq/${name}.tar.bz2";
|
2017-08-29 17:07:32 +03:00
|
|
|
sha256 = "1fybasb6srqfg6pqbvh0s0vvzjq9r0n6aq0z44hs7n68kmaam775";
|
2010-08-29 13:43:46 +04:00
|
|
|
};
|
|
|
|
|
2013-03-17 15:02:55 +04:00
|
|
|
configureFlags = [ "--disable-paragui" "--disable-paraguitest" ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-fpermissive"; # I'm too lazy to catch all gcc47-related problems
|
2016-02-26 20:38:15 +03:00
|
|
|
hardeningDisable = [ "format" ];
|
2013-03-17 15:02:55 +04:00
|
|
|
|
2010-08-29 13:43:46 +04:00
|
|
|
buildInputs = [
|
2014-10-01 23:55:40 +04:00
|
|
|
SDL SDL_image SDL_mixer SDL_sound libsigcxx physfs boost expat
|
2014-09-19 21:56:08 +04:00
|
|
|
freetype libjpeg wxGTK lua perl pkgconfig zlib zip bzip2 libpng
|
2017-08-29 17:07:32 +03:00
|
|
|
libtiff fluidsynth libmikmod
|
2010-08-29 13:43:46 +04:00
|
|
|
];
|
|
|
|
|
2014-09-19 21:56:08 +04:00
|
|
|
meta = with stdenv.lib; {
|
2010-08-29 13:43:46 +04: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 21:56:08 +04:00
|
|
|
license = licenses.gpl2Plus;
|
2010-08-29 13:43:46 +04:00
|
|
|
|
2017-08-29 17:07:32 +03:00
|
|
|
maintainers = with maintainers; [ viric raskin ];
|
2015-11-17 23:29:29 +03:00
|
|
|
platforms = platforms.linux;
|
2010-08-29 13:43:46 +04:00
|
|
|
};
|
|
|
|
}
|