mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
4fc5e5bcbf
Diff: https://codeberg.org/river/river/compare/v0.3.3...v0.3.4 Changelog: https://codeberg.org/river/river/releases/tag/v0.3.4
10 lines
426 B
Plaintext
Executable file
10 lines
426 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/river/river | lines | sort --natural | str replace v '' | last
|
|
update-source-version river $latest_tag
|
|
|
|
http get $"https://codeberg.org/river/river/raw/tag/v($latest_tag)/build.zig.zon" | save build.zig.zon
|
|
zon2nix | save -f pkgs/by-name/ri/river/build.zig.zon.nix
|
|
rm build.zig.zon
|