Related:
- 9fc5e7e473
- 593e11fd94
- 508ae42a0f
Since the last time I ran this script, the Repology API changed, so I had to
adapt the script used in the previous PR. The new API should be more robust, so
overall this is a positive (no more grepping the error messages for our relevant
data but just a nice json structure).
Here's the new script I used:
```sh
curl https://repology.org/api/v1/repository/nix_unstable/problems \
| jq -r '.[] | select(.type == "homepage_permanent_https_redirect") | .data | "s@\(.url)@\(.target)@"' \
| sort | uniq | tee script.sed
find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
I will also add this script to `maintainers/scripts`.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/sakura/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/pzgl7k3a4c92m6jc7mka9jy9xrhjijdq-sakura-3.6.0/bin/sakura --help’ got 0 exit code
- ran ‘/nix/store/pzgl7k3a4c92m6jc7mka9jy9xrhjijdq-sakura-3.6.0/bin/.sakura-wrapped --help’ got 0 exit code
- found 3.6.0 with grep in /nix/store/pzgl7k3a4c92m6jc7mka9jy9xrhjijdq-sakura-3.6.0
- directory tree listing: https://gist.github.com/cc68e1af204099f1847caeb61afaf03d
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/7kvykp5j43060lmrkillcd05fml0sg3p-sakura-3.5.0/bin/sakura --help` got 0 exit code
- ran `/nix/store/7kvykp5j43060lmrkillcd05fml0sg3p-sakura-3.5.0/bin/.sakura-wrapped --help` got 0 exit code
- found 3.5.0 with grep in /nix/store/7kvykp5j43060lmrkillcd05fml0sg3p-sakura-3.5.0
- found 3.5.0 in filename of file in /nix/store/7kvykp5j43060lmrkillcd05fml0sg3p-sakura-3.5.0
cc "@astsmtl @codyopel"