3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/asc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.3 KiB
Nix
Raw Normal View History

{ fetchurl, lib, stdenv, SDL, SDL_image, SDL_mixer, SDL_sound, libsigcxx, physfs
2021-01-17 02:04:36 +00:00
, boost, expat, freetype, libjpeg, wxGTK, lua, perl, pkg-config, zlib, zip, bzip2
2018-04-21 21:43:18 +01:00
, libpng, libtiff, fluidsynth, libmikmod, libvorbis, flac, libogg }:
stdenv.mkDerivation rec {
2021-06-22 22:44:58 +01:00
pname = "asc";
version = "2.6.0.0";
src = fetchurl {
2021-06-22 22:44:58 +01:00
url = "mirror://sourceforge/asc-hq/asc-${version}.tar.bz2";
2017-08-29 15:07:32 +01:00
sha256 = "1fybasb6srqfg6pqbvh0s0vvzjq9r0n6aq0z44hs7n68kmaam775";
};
2013-03-17 11:02:55 +00:00
configureFlags = [ "--disable-paragui" "--disable-paraguitest" ];
NIX_CFLAGS_COMPILE = "-fpermissive -Wno-error=narrowing -std=c++11"; # I'm too lazy to catch all gcc47-related problems
hardeningDisable = [ "format" ];
2013-03-17 11:02:55 +00:00
buildInputs = [
2014-10-01 20:55:40 +01:00
SDL SDL_image SDL_mixer SDL_sound libsigcxx physfs boost expat
2021-01-17 02:04:36 +00:00
freetype libjpeg wxGTK lua perl pkg-config zlib zip bzip2 libpng
2018-04-21 21:43:18 +01:00
libtiff fluidsynth libmikmod flac libvorbis libogg
];
meta = with lib; {
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
2018-04-21 21:43:18 +01:00
currently available for Windows and Linux.
'';
homepage = "https://www.asc-hq.org/";
2014-09-19 18:56:08 +01:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
};
}