2015-12-29 04:55:54 -08:00
|
|
|
{ stdenv, fetchurl, xproto, libX11, libXrender
|
2018-02-24 05:12:44 -08:00
|
|
|
, gmp, libGLU_combined, libjpeg, libpng
|
2015-12-29 04:55:54 -08:00
|
|
|
, expat, gettext, perl, guile
|
2015-09-14 21:27:19 -07:00
|
|
|
, SDL, SDL_image, SDL_mixer, SDL_ttf
|
2018-09-20 15:19:01 -07:00
|
|
|
, curl, sqlite, libtool, readline
|
2015-12-29 04:55:54 -08:00
|
|
|
, libogg, libvorbis, libcaca, csound, cunit } :
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "liquidwar6-${version}";
|
|
|
|
version = "0.6.3902";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/liquidwar6/${name}.tar.gz";
|
|
|
|
sha256 = "1976nnl83d8wspjhb5d5ivdvdxgb8lp34wp54jal60z4zad581fn";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2009-12-16 08:06:30 -08:00
|
|
|
xproto libX11 gmp guile
|
2018-02-24 05:12:44 -08:00
|
|
|
libGLU_combined libjpeg libpng
|
2009-12-16 08:06:30 -08:00
|
|
|
expat gettext perl
|
|
|
|
SDL SDL_image SDL_mixer SDL_ttf
|
2015-09-14 21:27:19 -07:00
|
|
|
curl sqlite
|
2014-08-03 04:59:13 -07:00
|
|
|
libogg libvorbis csound
|
|
|
|
libXrender libcaca cunit
|
2018-09-20 15:19:01 -07:00
|
|
|
libtool readline
|
2009-12-16 08:06:30 -08:00
|
|
|
];
|
2012-02-16 04:22:05 -08:00
|
|
|
|
2016-02-26 09:38:15 -08:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-11 19:58:23 -08:00
|
|
|
|
2016-08-27 14:55:58 -07:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
|
|
|
|
2015-12-29 04:55:54 -08:00
|
|
|
# To avoid problems finding SDL_types.h.
|
2015-12-31 00:47:26 -08:00
|
|
|
configureFlags = [ "CFLAGS=-I${SDL.dev}/include/SDL" ];
|
2009-12-16 08:06:30 -08:00
|
|
|
|
2015-12-29 04:55:54 -08:00
|
|
|
meta = with stdenv.lib; {
|
2009-12-16 08:06:30 -08:00
|
|
|
description = "Quick tactics game";
|
2017-08-01 13:03:30 -07:00
|
|
|
homepage = http://www.gnu.org/software/liquidwar6/;
|
2015-12-29 04:55:54 -08:00
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2009-12-16 08:06:30 -08:00
|
|
|
};
|
|
|
|
}
|