diff options
author | Patrick Hilhorst <git@hilhorst.be> | 2020-01-22 11:26:22 +0100 |
---|---|---|
committer | Patrick Hilhorst <git@hilhorst.be> | 2020-01-22 11:26:22 +0100 |
commit | 593e11fd944ce961ecf5425c3540df09e4f52265 (patch) | |
tree | 91ca8d28260c7ed9b54f5866f55731e7b592f336 /pkgs/applications/office/zim | |
parent | 50c3ac29ac04b79f3ff290ece687a767a6944b81 (diff) |
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.
The following script was used to make these updates:
```
curl https://repology.org/api/v1/repository/nix_unstable/problems \
| jq '.[] | .problem' -r \
| rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
| sort | uniq > script.sed
find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
Diffstat (limited to 'pkgs/applications/office/zim')
-rw-r--r-- | pkgs/applications/office/zim/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/office/zim/default.nix b/pkgs/applications/office/zim/default.nix index baf7741ed222..a9b0f526852d 100644 --- a/pkgs/applications/office/zim/default.nix +++ b/pkgs/applications/office/zim/default.nix @@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec { version = "0.72.0"; src = fetchurl { - url = "http://zim-wiki.org/downloads/${name}.tar.gz"; + url = "https://zim-wiki.org/downloads/${name}.tar.gz"; sha256 = "1n3gmg7g86s8iwcx0i7rvvfdfs1fzmc9awr9qzjd2rckw4bkxad1"; }; |