{ lib , stdenv , fetchurl , SDL2 , SDL2_image , SDL2_mixer , SDL2_ttf , directoryListingUpdater }: stdenv.mkDerivation rec { pname = "lbreakouthd"; version = "1.1"; src = fetchurl { url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz"; hash = "sha256-5hjS0aJ5f8Oe0aSuVgcV10h5OmWsaMHF5B9wYVFrlDY="; }; buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf ]; hardeningDisable = [ "format" ]; passthru.updateScript = directoryListingUpdater { inherit pname version; url = "https://lgames.sourceforge.io/LBreakoutHD/"; extraRegex = "(?!.*-win(32|64)).*"; }; meta = with lib; { broken = stdenv.isDarwin; homepage = "https://lgames.sourceforge.io/LBreakoutHD/"; description = "A widescreen Breakout clone"; license = licenses.gpl2Plus; maintainers = with maintainers; [ AndersonTorres ]; inherit (SDL2.meta) platforms; }; }