2011-03-27 22:35:08 +02:00
|
|
|
{stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net }:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2011-03-27 22:35:08 +02:00
|
|
|
name = "njam-1.25";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "mirror://sourceforge/njam/njam-1.25-src.tar.gz";
|
2011-03-27 22:35:08 +02:00
|
|
|
sha256 = "0ysvqw017xkvddj957pdfmbmji7qi20nyr7f0zxvcvm6c7d3cc7s";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
rm src/*.o
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ SDL SDL_image SDL_mixer SDL_net ];
|
|
|
|
|
2016-08-27 23:56:33 +02:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2011-03-27 22:35:08 +02:00
|
|
|
patches = [ ./logfile.patch ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://trackballs.sourceforge.net/";
|
2011-03-27 22:35:08 +02:00
|
|
|
description = "Cross-platform pacman-like game";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-03-27 22:35:08 +02:00
|
|
|
};
|
|
|
|
}
|