2022-04-20 02:11:34 +00:00
|
|
|
{ lib
|
|
|
|
, SDL2
|
|
|
|
, SDL2_image
|
|
|
|
, SDL2_mixer
|
|
|
|
, SDL2_ttf
|
2024-03-02 22:07:06 +00:00
|
|
|
, directoryListingUpdater
|
|
|
|
, fetchurl
|
|
|
|
, stdenv
|
2022-04-20 02:11:34 +00:00
|
|
|
}:
|
|
|
|
|
2023-04-16 20:12:46 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2022-04-20 02:11:34 +00:00
|
|
|
pname = "lbreakouthd";
|
2024-05-03 10:25:50 +00:00
|
|
|
version = "1.1.8";
|
2022-04-20 02:11:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-04-16 20:12:46 +00:00
|
|
|
url = "mirror://sourceforge/lgames/lbreakouthd-${finalAttrs.version}.tar.gz";
|
2024-05-03 10:25:50 +00:00
|
|
|
hash = "sha256-3WZ77KVDNitdIcXPFf0CMXtjDvEXi91Jr7mpeV09Wt4=";
|
2022-04-20 02:11:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
SDL2
|
|
|
|
SDL2_image
|
|
|
|
SDL2_mixer
|
|
|
|
SDL2_ttf
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2022-12-09 17:44:54 +00:00
|
|
|
passthru.updateScript = directoryListingUpdater {
|
2023-04-16 20:12:46 +00:00
|
|
|
inherit (finalAttrs) pname version;
|
2022-12-09 17:44:54 +00:00
|
|
|
url = "https://lgames.sourceforge.io/LBreakoutHD/";
|
|
|
|
extraRegex = "(?!.*-win(32|64)).*";
|
|
|
|
};
|
|
|
|
|
2023-03-16 10:03:07 +00:00
|
|
|
meta = {
|
2022-04-20 02:11:34 +00:00
|
|
|
homepage = "https://lgames.sourceforge.io/LBreakoutHD/";
|
|
|
|
description = "A widescreen Breakout clone";
|
2023-03-16 10:03:07 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2024-03-02 22:07:06 +00:00
|
|
|
mainProgram = "lbreakouthd";
|
2023-03-16 10:03:07 +00:00
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
2022-04-20 02:11:34 +00:00
|
|
|
inherit (SDL2.meta) platforms;
|
2023-03-16 10:03:07 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2022-04-20 02:11:34 +00:00
|
|
|
};
|
2023-03-16 10:03:07 +00:00
|
|
|
})
|