1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00
nixpkgs/pkgs/games/njam/default.nix
Lluís Batlle i Rossell 723fce8d57 Adding the pacman-like game njam.
svn path=/nixpkgs/trunk/; revision=26553
2011-03-27 20:35:08 +00:00

25 lines
531 B
Nix

{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";
license = "GPLv2+";
};
}