nixpkgs/pkgs/shells
Patrick Hilhorst f7e390e6d4 treewide: fix redirected urls (run 3)
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`.
2020-10-02 09:01:35 -07:00
..
any-nix-shell treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bash treewide: add warning comment to “boot” packages 2020-07-31 08:56:53 +02:00
dash dash: 0.5.11.1 -> 0.5.11.2 2020-09-22 18:35:08 +00:00
dgsh treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
elvish elvish: 0.14.0 -> 0.14.1 2020-08-25 12:42:02 +00:00
es treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fish fish: fixup awk references 2020-07-06 11:09:45 +02:00
ion buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
jush treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ksh treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
liquidprompt liquidprompt: unstable-2018-05-21 -> 1.12.0 2020-08-01 21:16:38 -03:00
mksh mksh: 59 -> 59b 2020-05-22 08:29:04 +00:00
mrsh mrsh: enable on darwin 2020-01-18 04:20:00 -05:00
nushell nushell: enable for aarch64 2020-09-05 14:13:42 -07:00
oh
oil oil: 0.8.pre4 -> 0.8.pre6 2020-06-18 21:12:13 +01:00
pash treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
powershell powershell: installCheck -> installCheckPhase 2020-06-05 15:40:12 -07:00
rc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rush treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tcsh treewide: fix broken AlpineLinux repo links (#87892) 2020-05-15 16:58:27 +01:00
xonsh xonsh: 0.9.21 -> 0.9.22 2020-09-16 18:00:00 -05:00
zsh treewide: fix redirected urls (run 3) 2020-10-02 09:01:35 -07:00