summary refs log tree commit diff
path: root/pkgs/games/super-tux/default.nix
blob: 945eaa7fbf8802cc8b211c28d94c7f240658ed4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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 = "Classic 2D jump'n run sidescroller game";

    homepage = http://supertux.lethargik.org/index.html;

    license = "GPLv2";
  };
}