1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/games/super-tux/default.nix
Peter Simons 71f164ac1e Three Games and Perl Support for Irssi
Here are four patches. Three of them add expressions for games. The
fourth, irssi-perl.patch, adds perl as an input for irssi, so that one
can run perl plugins in irssi. I didn't make the perl input optional,
but maybe it should be to keep the irssi expression light.

svn path=/nixpkgs/trunk/; revision=21813
2010-05-17 09:21:42 +00:00

29 lines
727 B
Nix

{ fetchurl, stdenv, SDL, SDL_image, SDL_mixer, curl, gettext, libogg, libvorbis, mesa, openal }:
let
version = "0.1.3";
in
stdenv.mkDerivation {
name = "supertux-${version}";
src = fetchurl {
url = "http://download.berlios.de/supertux/supertux-${version}.tar.bz2";
sha256 = "15xdq99jy4hayr96jpqcp15rbr9cs5iamjirafajcrkpa61mi4h0";
};
buildInputs = [ SDL SDL_image SDL_mixer curl gettext libogg libvorbis mesa openal ];
patches = [ ./g++4.patch ];
meta = {
description = "SuperTux is a classic 2D jump'n run sidescroller game in a style similar to the original Super Mario games covered under the GPL.";
homepage = http://supertux.lethargik.org/index.html;
license = "GPLv2";
};
}