mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
5aa4b19946
Refs: e6754980264fe927320d5ff2dbd24ca4fac9a160 1e9cc5b9844ef603fe160e9f671178f96200774f 793a2fe1e8bb886ca2096c5904e1193dc3268b6d c19cf65261639f749012454932a532aa7c681e4b f6544d618f30fae0bc4798c4387a8c7c9c047a7c
26 lines
703 B
Nix
26 lines
703 B
Nix
{ stdenv, fetchurl, allegro }:
|
|
stdenv.mkDerivation rec {
|
|
version = "5.6.4";
|
|
pname = "liquidwar5";
|
|
src = fetchurl {
|
|
url = "https://download.savannah.gnu.org/releases/liquidwar/liquidwar-${version}.tar.gz";
|
|
sha256 = "18wkbfzp07yckg05b5gjy67rw06z9lxp0hzg0zwj7rz8i12jxi9j";
|
|
};
|
|
|
|
buildInputs = [ allegro ];
|
|
|
|
configureFlags = stdenv.lib.optional stdenv.isx86_64 "--disable-asm";
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-lm" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = ''The classic version of a quick tactics game LiquidWar'';
|
|
maintainers = [ maintainers.raskin ];
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
broken = true;
|
|
};
|
|
}
|