2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, SDL, SDL_mixer }:
|
2017-06-16 14:32:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ltris";
|
2022-04-18 03:29:00 +00:00
|
|
|
version = "1.2.4";
|
2017-06-16 14:32:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
|
2022-04-18 03:29:00 +00:00
|
|
|
hash = "sha256-1ut7MBAjJ4YE2SkqkvL9L1ED7kEqdaEm0lUOLsI2j4M=";
|
2017-06-16 14:32:30 +00:00
|
|
|
};
|
|
|
|
|
2022-04-18 03:29:00 +00:00
|
|
|
buildInputs = [
|
|
|
|
SDL
|
|
|
|
SDL_mixer
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
2017-06-16 14:32:30 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2022-04-18 03:29:00 +00:00
|
|
|
homepage = "https://lgames.sourceforge.io/LTris/";
|
2017-06-16 14:32:30 +00:00
|
|
|
description = "Tetris clone from the LGames series";
|
2022-04-18 03:29:00 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ciil ];
|
|
|
|
inherit (SDL.meta) platforms;
|
2017-06-16 14:32:30 +00:00
|
|
|
};
|
|
|
|
}
|