mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
lpairs2: add updateScript
This commit is contained in:
parent
082d60f9fc
commit
848ec40f5c
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user