nixpkgs/pkgs/games/liquidwar/5.nix

23 lines
659 B
Nix
Raw Normal View History

2016-08-26 12:40:38 +01:00
{ stdenv, fetchurl, allegro }:
stdenv.mkDerivation rec {
version = "5.6.4";
name = "liquidwar5-${version}";
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/liquidwar/liquidwar-${version}.tar.gz";
2016-08-26 12:40:38 +01:00
sha256 = "18wkbfzp07yckg05b5gjy67rw06z9lxp0hzg0zwj7rz8i12jxi9j";
};
2016-08-28 15:06:55 +01:00
buildInputs = [ allegro ];
2016-08-26 12:40:38 +01:00
2016-08-28 15:06:55 +01:00
configureFlags = stdenv.lib.optional stdenv.isx86_64 "--disable-asm";
2016-08-26 12:40:38 +01:00
2016-08-28 15:06:55 +01:00
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = ''The classic version of a quick tactics game LiquidWar'';
maintainers = [ maintainers.raskin ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
2016-08-26 12:40:38 +01:00
}