nixpkgs/pkgs/games/njam/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
648 B
Nix
Raw Normal View History

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