2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, SDL, SDL_mixer }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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}";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tetris clone from the LGames series";
|
|
|
|
homepage = "http://lgames.sourceforge.net/LBreakout2/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ciil ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|