diff --git a/pkgs/by-name/directoryListingUpdater2/list-directory-versions b/pkgs/by-name/directoryListingUpdater2/list-directory-versions index f8592e8fc..37eddf15f 100755 --- a/pkgs/by-name/directoryListingUpdater2/list-directory-versions +++ b/pkgs/by-name/directoryListingUpdater2/list-directory-versions @@ -62,7 +62,7 @@ if __name__ == "__main__": link_url = link.get("href", None) if link_url is not None: match = re.fullmatch( - rf"(.*/)?{args.pname}_([\d.]+?(-[\d\w.-]+?)?)(\.tar)?(\.[^.]*)", link_url + rf"(.*/)?{args.pname}[-_]([\d.]+?(-[\d\w.-]+?)?)(\.tar)?(\.[^.]*)", link_url ) if match: version = match.group(2) diff --git a/pkgs/by-name/directoryListingUpdater2/package.nix b/pkgs/by-name/directoryListingUpdater2/package.nix index c1d7c267f..a42b392b7 100644 --- a/pkgs/by-name/directoryListingUpdater2/package.nix +++ b/pkgs/by-name/directoryListingUpdater2/package.nix @@ -1,6 +1,9 @@ # heavily based on # and . # main difference is that it does fuzzier matching. +# +# remove this package once this PR lands: +# - { lib, genericUpdater,