Commit Graph

8 Commits

Author SHA1 Message Date
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
Frederik Rietdijk
7a4e3e5762 pythonPackages.dnspython_1: add missing file, fixes eval 2020-09-03 19:17:20 +02:00
Jonathan Ringer
fe23db1fdd
python2Packages.dnspython: disable for python2 2020-08-16 19:13:55 -07:00
Frederik Rietdijk
a7b5b18ab9 python: dnspython: 1.16.0 -> 2.0.0 2020-08-16 19:30:58 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk
99b5005e59 python: dnspython: 1.15.0 -> 1.16.0 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
rnhmjoj
b56d92a53b
pythonPackages: rename dns -> dnspython 2017-12-10 03:22:52 +01:00