2022-04-27 09:35:20 +00:00
|
|
|
{ lib, stdenv, fetchurl, SDL, SDL_mixer }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ltris";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.2.5";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
|
2022-08-12 12:06:08 +00:00
|
|
|
hash = "sha256-Ksb5TdQMTEzaJfjHVhgq27dSFvZxUnNUQ6OpAU+xwzM=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
SDL
|
|
|
|
SDL_mixer
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://lgames.sourceforge.io/LTris/";
|
|
|
|
description = "Tetris clone from the LGames series";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ciil ];
|
|
|
|
inherit (SDL.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|