1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/games/liquidwar/5.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

23 lines
649 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" ];
meta = with stdenv.lib; {
description = ''The classic version of a quick tactics game LiquidWar'';
maintainers = [ maintainers.raskin ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}