lpairs2: add updateScript

This commit is contained in:
Francesco Gazzetta 2022-12-09 18:54:54 +01:00
parent 082d60f9fc
commit 848ec40f5c

View File

@ -5,6 +5,7 @@
, SDL2_image
, SDL2_mixer
, SDL2_ttf
, directoryListingUpdater
}:
stdenv.mkDerivation rec {
@ -23,6 +24,12 @@ stdenv.mkDerivation rec {
SDL2_ttf
];
passthru.updateScript = directoryListingUpdater {
inherit pname version;
url = "https://lgames.sourceforge.io/LPairs/";
extraRegex = "(?!.*-win(32|64)).*";
};
meta = with lib; {
broken = stdenv.isDarwin;
homepage = "http://lgames.sourceforge.net/LPairs/";