2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, SDL, SDL_mixer }:
|
2017-06-16 16:32:30 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ltris";
|
2017-06-16 16:32:30 +02:00
|
|
|
version = "1.0.19";
|
|
|
|
buildInputs = [ SDL SDL_mixer ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
|
2017-06-16 16:32:30 +02:00
|
|
|
sha256 = "1895wv1fqklrj4apkz47rnkcfhfav7zjknskw6p0886j35vrwslg";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = "patch -p0 < ${./gcc5_compliance.diff}";
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-06-16 16:32:30 +02:00
|
|
|
description = "Tetris clone from the LGames series";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://lgames.sourceforge.net/LBreakout2/";
|
2017-06-16 16:32:30 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ciil ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|