2019-11-10 17:44:34 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk2, freeglut, SDL, SDL_mixer, libGLU, libGL, libXi, libXmu }:
|
2010-09-29 00:37:27 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "crack-attack-1.1.14";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://savannah/crack-attack/crack-attack-1.1.14.tar.gz;
|
|
|
|
sha256 = "1sakj9a2q05brpd7lkqxi8q30bccycdzd96ns00s6jbxrzjlijkm";
|
|
|
|
};
|
|
|
|
|
2018-11-25 17:08:16 +01:00
|
|
|
patches = [
|
|
|
|
./crack-attack-1.1.14-gcc43.patch
|
|
|
|
./crack-attack-1.1.14-glut.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-sound=yes" ];
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-11-10 17:44:34 +01:00
|
|
|
buildInputs = [ gtk2 freeglut SDL SDL_mixer libGLU libGL libXi libXmu ];
|
2010-09-29 00:37:27 +02:00
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2018-11-25 17:08:16 +01:00
|
|
|
enableParallelBuilding = true;
|
2016-02-11 00:04:10 +01:00
|
|
|
|
2011-09-13 22:49:45 +02:00
|
|
|
meta = {
|
2010-09-29 00:37:27 +02:00
|
|
|
description = "A fast-paced puzzle game inspired by the classic Super NES title Tetris Attack!";
|
2018-12-01 18:32:32 +01:00
|
|
|
homepage = https://www.nongnu.org/crack-attack/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-09-29 00:37:27 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-09-13 22:49:45 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.piotr ];
|
2010-09-29 00:37:27 +02:00
|
|
|
};
|
|
|
|
}
|