3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/radio
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
..
airspy
aldo
chirp chirp: 20200430 -> 20200807 2020-08-25 08:28:34 +02:00
cubicsdr
dablin
dabtools
direwolf
dmrconfig
dsd
dump1090
ebook2cw
fldigi fldigi: 4.1.13 -> 4.1.14 2020-08-31 16:54:20 +02:00
fllog
flmsg
flrig
flwrap
gnss-sdr
gnuradio
gqrx
hackrf treewide: fix redirected urls (run 3) 2020-10-02 09:01:35 -07:00
inspectrum inspectrum: 2017-05-31 -> 0.2.2 2020-08-25 13:05:08 +02:00
kalibrate-hackrf
kalibrate-rtl
limesuite
minimodem
multimon-ng
noaa-apt noaa-apt: init at 1.2.0 2020-08-29 10:34:43 -04:00
pyradio
qradiolink
qsstv
rtl-ais
rtl-sdr
rtl_433
sdrangel
soapyairspy
soapybladerf
soapyhackrf
soapyremote
soapyrtlsdr
soapysdr
soapyuhd
svxlink
tlf
tqsl
uhd
unixcw
urh
welle-io welle-io: 2.1 -> 2.2 2020-09-04 09:13:32 -07:00
wsjtx wsjtx: 2.1.2 -> 2.2.2 2020-08-16 13:07:05 +00:00
xlog