3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/njam/default.nix

28 lines
627 B
Nix
Raw Normal View History

{stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net }:
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
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 ];
2016-08-27 22:56:33 +01:00
hardeningDisable = [ "format" ];
patches = [ ./logfile.patch ];
meta = {
homepage = http://trackballs.sourceforge.net/;
description = "Cross-platform pacman-like game";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
};
}