mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
9 lines
413 B
Plaintext
Executable File
9 lines
413 B
Plaintext
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i nu -p nushell common-updater-scripts zon2nix
|
|
|
|
let latest_tag = list-git-tags --url=https://codeberg.org/ifreund/waylock | lines | sort --natural | str replace v '' | last
|
|
update-source-version waylock $latest_tag
|
|
|
|
http get $"https://codeberg.org/ifreund/waylock/raw/tag/v($latest_tag)/build.zig.zon" | save build.zig.zon
|
|
zon2nix > pkgs/by-name/wa/waylock/build.zig.zon.nix
|