diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2022-12-09 18:44:54 +0100 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2022-12-10 17:02:38 +0100 |
commit | 400ec42904919bfcd19fe86d8f27f99044ec85d1 (patch) | |
tree | d3cd912a0330310ecbcdd86b9217ad191049157b /pkgs/games/lgames | |
parent | 19e4b53b090c7aa150af40232b2c75c80d53a017 (diff) |
lbreakouthd: add updateScript
Diffstat (limited to 'pkgs/games/lgames')
-rw-r--r-- | pkgs/games/lgames/lbreakouthd/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/games/lgames/lbreakouthd/default.nix b/pkgs/games/lgames/lbreakouthd/default.nix index bfe8eecc95b86..e83e5da6c7027 100644 --- a/pkgs/games/lgames/lbreakouthd/default.nix +++ b/pkgs/games/lgames/lbreakouthd/default.nix @@ -5,6 +5,7 @@ , SDL2_image , SDL2_mixer , SDL2_ttf +, directoryListingUpdater }: stdenv.mkDerivation rec { @@ -25,6 +26,12 @@ stdenv.mkDerivation rec { 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/"; |