summary refs log tree commit diff
path: root/pkgs/games/ltris/default.nix
blob: d580d7586ff948d61f4359d05200f0c7d2edb600 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, SDL, SDL_mixer }:

stdenv.mkDerivation rec {
  pname = "ltris";
  version = "1.0.19";
  buildInputs = [ SDL SDL_mixer ];

  src = fetchurl {
    url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
    sha256 = "1895wv1fqklrj4apkz47rnkcfhfav7zjknskw6p0886j35vrwslg";
  };

  patchPhase = "patch -p0 < ${./gcc5_compliance.diff}";

  meta = with stdenv.lib; {
    description = "Tetris clone from the LGames series";
    homepage = http://lgames.sourceforge.net/LBreakout2/;
    license = licenses.gpl2;
    maintainers = [ maintainers.ciil ];
    platforms = platforms.linux;
  };
}