lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 53 lines 1.5 kB view raw
1{ lib, stdenv, fetchurl, xorgproto, libX11, libXrender 2, gmp, libjpeg, libpng 3, expat, gettext, perl, guile 4, SDL, SDL_image, SDL_mixer, SDL_ttf 5, curl, sqlite, libtool, readline 6, libogg, libvorbis, libcaca, csound, cunit 7, pkg-config }: 8 9stdenv.mkDerivation rec { 10 pname = "liquidwar6"; 11 version = "0.6.3902"; 12 13 src = fetchurl { 14 url = "mirror://gnu/liquidwar6/${pname}-${version}.tar.gz"; 15 sha256 = "1976nnl83d8wspjhb5d5ivdvdxgb8lp34wp54jal60z4zad581fn"; 16 }; 17 18 buildInputs = [ 19 xorgproto libX11 gmp guile 20 libjpeg libpng 21 expat gettext perl 22 SDL SDL_image SDL_mixer SDL_ttf 23 curl sqlite 24 libogg libvorbis csound 25 libXrender libcaca cunit 26 libtool readline 27 ]; 28 29 nativeBuildInputs = [ pkg-config ]; 30 31 hardeningDisable = [ "format" ]; 32 33 env.NIX_CFLAGS_COMPILE = toString (lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "12") [ 34 # Needed with GCC 12 but problematic with some old GCCs 35 "-Wno-error=address" 36 "-Wno-error=use-after-free" 37 ] ++ [ 38 "-Wno-error=deprecated-declarations" 39 # Avoid GL_GLEXT_VERSION double definition 40 " -DNO_SDL_GLEXT" 41 ]); 42 43 # To avoid problems finding SDL_types.h. 44 configureFlags = [ "CFLAGS=-I${lib.getDev SDL}/include/SDL" ]; 45 46 meta = with lib; { 47 description = "Quick tactics game"; 48 homepage = "https://www.gnu.org/software/liquidwar6/"; 49 maintainers = [ maintainers.raskin ]; 50 license = licenses.gpl3Plus; 51 platforms = platforms.linux; 52 }; 53}