2021-01-15 04:31:39 +00:00
|
|
|
{lib, stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net }:
|
2011-03-27 21:35:08 +01:00
|
|
|
|
2021-06-22 22:44:58 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "njam";
|
|
|
|
version = "1.25";
|
2011-03-27 21:35:08 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-22 22:44:58 +01:00
|
|
|
url = "mirror://sourceforge/njam/njam-${version}-src.tar.gz";
|
2011-03-27 21:35:08 +01:00
|
|
|
sha256 = "0ysvqw017xkvddj957pdfmbmji7qi20nyr7f0zxvcvm6c7d3cc7s";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
rm src/*.o
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ SDL SDL_image SDL_mixer SDL_net ];
|
|
|
|
|
2016-08-27 22:56:33 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2011-03-27 21:35:08 +01:00
|
|
|
patches = [ ./logfile.patch ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://trackballs.sourceforge.net/";
|
2011-03-27 21:35:08 +01:00
|
|
|
description = "Cross-platform pacman-like game";
|
2021-01-15 04:31:39 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2011-03-27 21:35:08 +01:00
|
|
|
};
|
|
|
|
}
|