summary refs log tree commit diff
path: root/nixos/lib/testing
diff options
context:
space:
mode:
authorPatrick Hilhorst <git@hilhorst.be>2020-01-22 11:26:22 +0100
committerPatrick Hilhorst <git@hilhorst.be>2020-01-22 11:26:22 +0100
commit593e11fd944ce961ecf5425c3540df09e4f52265 (patch)
tree91ca8d28260c7ed9b54f5866f55731e7b592f336 /nixos/lib/testing
parent50c3ac29ac04b79f3ff290ece687a767a6944b81 (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 'nixos/lib/testing')
-rw-r--r--nixos/lib/testing/jquery-ui.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/lib/testing/jquery-ui.nix b/nixos/lib/testing/jquery-ui.nix
index e65107a3c2fbc..abd59da2d285e 100644
--- a/nixos/lib/testing/jquery-ui.nix
+++ b/nixos/lib/testing/jquery-ui.nix
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
   name = "jquery-ui-1.11.4";
 
   src = fetchurl {
-    url = "http://jqueryui.com/resources/download/${name}.zip";
+    url = "https://jqueryui.com/resources/download/${name}.zip";
     sha256 = "0ciyaj1acg08g8hpzqx6whayq206fvf4whksz2pjgxlv207lqgjh";
   };
 
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
     '';
 
   meta = {
-    homepage = http://jqueryui.com/;
+    homepage = https://jqueryui.com/;
     description = "A library of JavaScript widgets and effects";
     platforms = stdenv.lib.platforms.all;
   };