nixpkgs/pkgs/games/lgames/ltris/default.nix
2022-07-31 19:26:40 +00:00

27 lines
620 B
Nix

{ lib, stdenv, fetchurl, SDL, SDL_mixer }:
stdenv.mkDerivation rec {
pname = "ltris";
version = "1.2.5";
src = fetchurl {
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
hash = "sha256-Ksb5TdQMTEzaJfjHVhgq27dSFvZxUnNUQ6OpAU+xwzM=";
};
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;
};
}