nixpkgs-suyu/pkgs/applications/science
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
..
astronomy stellarium: enable on darwin 2020-09-27 17:00:10 -04:00
biology mrtrix: 3.0.0 -> 3.0.2 2020-09-30 22:13:18 -04:00
chemistry jmol: 14.31.2 -> 14.31.3 2020-09-23 23:36:41 -07:00
electronics treewide: fix redirected urls (run 3) 2020-10-02 09:01:35 -07:00
geometry gama: init at 2.09 2020-07-18 18:58:22 +01:00
logic ocamlPackages.z3: init at 4.8.9 2020-09-30 22:03:17 +02:00
machine-learning streamlit: fix build 2020-09-15 11:19:26 -07:00
math sage: use jdk8 2020-09-19 14:22:43 +02:00
medicine aliza: 1.48.10 -> 1.98.32 2020-08-10 11:16:16 +02:00
misc cytoscape: 3.8.0 -> 3.8.1 2020-09-25 04:38:49 +00:00
molecular-dynamics gromacs: 2020.2 -> 2020.3 2020-07-13 07:11:49 +00:00
physics Merge pull request #70487 from esclear/xflr5 2020-05-27 00:00:05 +02:00
programming treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
robotics qgroundcontrol: 4.0.9 -> 4.0.10 2020-08-16 15:28:55 -04:00