nix-update
nix-update copied to clipboard
Feature request: Making use of electron builder yamls
Some electron project appimage downloads serve a yaml with version, sha512 hash and url to latest version. AFAIK, those files are generated by something called electron forge or builder(?) so it's not that rare.
examples:
- https://data.trezor.io/suite/releases/desktop/latest/latest-linux.yml
- https://data.trezor.io/suite/releases/desktop/latest/latest-linux-arm64.yml (!)
- https://launcherupdates.lunarclientcdn.com/latest-ow-linux.yml
also, update-source-version is broken with these appimageTools.wrapType2 packages so I have to use this script:
- https://github.com/NixOS/nixpkgs/blob/76dd45a7facb6802392df9c800950b4765e7dd09/pkgs/by-name/lu/lunar-client/update.sh
- https://github.com/NixOS/nixpkgs/blob/76dd45a7facb6802392df9c800950b4765e7dd09/pkgs/by-name/tr/trezor-suite/update.sh
Would it be possible for nix-update to handle all of this above? Maybe it would be also possible to automatically derive .yaml urls from src.url?
I think if someone does a PR for that we can consider this.