nixpkgs/pkgs/games/crack-attack/default.nix
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00

28 lines
797 B
Nix

{ stdenv, fetchurl, pkgconfig, gtk, freeglut, SDL, mesa, libXi, libXmu}:
stdenv.mkDerivation {
name = "crack-attack-1.1.14";
src = fetchurl {
url = mirror://savannah/crack-attack/crack-attack-1.1.14.tar.gz;
sha256 = "1sakj9a2q05brpd7lkqxi8q30bccycdzd96ns00s6jbxrzjlijkm";
};
buildInputs = [ pkgconfig gtk freeglut SDL mesa libXi libXmu ];
hardeningDisable = [ "format" ];
meta = {
description = "A fast-paced puzzle game inspired by the classic Super NES title Tetris Attack!";
homepage = http://www.nongnu.org/crack-attack/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.piotr ];
};
patches = [
./crack-attack-1.1.14-gcc43.patch
./crack-attack-1.1.14-glut.patch
];
}