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