diff options
Diffstat (limited to 'pkgs/games/asc/default.nix')
-rw-r--r-- | pkgs/games/asc/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/games/asc/default.nix b/pkgs/games/asc/default.nix index 28b144a4e86..af3f9f40310 100644 --- a/pkgs/games/asc/default.nix +++ b/pkgs/games/asc/default.nix @@ -1,27 +1,28 @@ -{ fetchurl, stdenv, SDL, SDL_image, SDL_mixer, SDL_sound, libsigcxx, physfs -, boost, expat, freetype, libjpeg, wxGTK, lua, perl, pkgconfig, zlib, zip, bzip2 +{ fetchurl, lib, stdenv, SDL, SDL_image, SDL_mixer, SDL_sound, libsigcxx, physfs +, boost, expat, freetype, libjpeg, wxGTK, lua, perl, pkg-config, zlib, zip, bzip2 , libpng, libtiff, fluidsynth, libmikmod, libvorbis, flac, libogg }: stdenv.mkDerivation rec { - name = "asc-2.6.0.0"; + pname = "asc"; + version = "2.6.0.0"; src = fetchurl { - url = "mirror://sourceforge/asc-hq/${name}.tar.bz2"; + url = "mirror://sourceforge/asc-hq/asc-${version}.tar.bz2"; sha256 = "1fybasb6srqfg6pqbvh0s0vvzjq9r0n6aq0z44hs7n68kmaam775"; }; configureFlags = [ "--disable-paragui" "--disable-paraguitest" ]; - NIX_CFLAGS_COMPILE = "-fpermissive"; # I'm too lazy to catch all gcc47-related problems + NIX_CFLAGS_COMPILE = "-fpermissive -Wno-error=narrowing"; # I'm too lazy to catch all gcc47-related problems hardeningDisable = [ "format" ]; buildInputs = [ SDL SDL_image SDL_mixer SDL_sound libsigcxx physfs boost expat - freetype libjpeg wxGTK lua perl pkgconfig zlib zip bzip2 libpng + freetype libjpeg wxGTK lua perl pkg-config zlib zip bzip2 libpng libtiff fluidsynth libmikmod flac libvorbis libogg ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Turn based strategy game"; longDescription = '' |