1 #!/usr/bin/env nix-shell
2 #!nix-shell -i nu -p nushell common-updater-scripts zon2nix
4 let latest_tag = list-git-tags --url=https://codeberg.org/ifreund/waylock | lines | sort --natural | str replace v '' | last
5 update-source-version waylock $latest_tag
7 http get $"https://codeberg.org/ifreund/waylock/raw/tag/v($latest_tag)/build.zig.zon" | save build.zig.zon
8 zon2nix > pkgs/by-name/wa/waylock/build.zig.zon.nix