nixpkgs/pkgs/games/liquidwar/5.nix

25 lines
675 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, allegro }:
2016-08-26 11:40:38 +00:00
stdenv.mkDerivation rec {
2020-11-02 01:58:54 +00:00
version = "5.6.5";
pname = "liquidwar5";
2016-08-26 11:40:38 +00:00
src = fetchurl {
2020-11-02 01:58:54 +00:00
url = "http://www.ufoot.org/download/liquidwar/v5/${version}/liquidwar-${version}.tar.gz";
sha256 = "2tCqhN1BbK0FVCHtm0DfOe+ueNPfdZwFg8ZMVPfy/18=";
2016-08-26 11:40:38 +00:00
};
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" ];
meta = with lib; {
2016-08-28 14:06:55 +00:00
description = ''The classic version of a quick tactics game LiquidWar'';
maintainers = [ maintainers.raskin ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
2016-08-26 11:40:38 +00:00
}