2016-08-26 11:40:38 +00:00
|
|
|
{ stdenv, fetchurl, allegro }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "5.6.4";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "liquidwar5";
|
2016-08-26 11:40:38 +00:00
|
|
|
src = fetchurl {
|
2018-12-01 17:07:00 +00:00
|
|
|
url = "https://download.savannah.gnu.org/releases/liquidwar/liquidwar-${version}.tar.gz";
|
2016-08-26 11:40:38 +00:00
|
|
|
sha256 = "18wkbfzp07yckg05b5gjy67rw06z9lxp0hzg0zwj7rz8i12jxi9j";
|
|
|
|
};
|
|
|
|
|
2016-08-28 14:06:55 +00:00
|
|
|
buildInputs = [ allegro ];
|
2016-08-26 11:40:38 +00:00
|
|
|
|
2016-08-28 14:06:55 +00:00
|
|
|
configureFlags = stdenv.lib.optional stdenv.isx86_64 "--disable-asm";
|
2016-08-26 11:40:38 +00:00
|
|
|
|
2016-08-28 14:06:55 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2019-09-12 16:28:56 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-lm" ];
|
|
|
|
|
2016-08-28 14:06:55 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''The classic version of a quick tactics game LiquidWar'';
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2019-10-07 15:20:23 +00:00
|
|
|
broken = true;
|
2016-08-28 14:06:55 +00:00
|
|
|
};
|
2016-08-26 11:40:38 +00:00
|
|
|
}
|