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/games/snake4 | |
parent | 50c3ac29ac04b79f3ff290ece687a767a6944b81 (diff) | |
download | nixpkgs-593e11fd944ce961ecf5425c3540df09e4f52265.tar nixpkgs-593e11fd944ce961ecf5425c3540df09e4f52265.tar.gz nixpkgs-593e11fd944ce961ecf5425c3540df09e4f52265.tar.bz2 nixpkgs-593e11fd944ce961ecf5425c3540df09e4f52265.tar.lz nixpkgs-593e11fd944ce961ecf5425c3540df09e4f52265.tar.xz nixpkgs-593e11fd944ce961ecf5425c3540df09e4f52265.tar.zst nixpkgs-593e11fd944ce961ecf5425c3540df09e4f52265.zip |
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/games/snake4')
-rw-r--r-- | pkgs/games/snake4/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/snake4/default.nix b/pkgs/games/snake4/default.nix index f37e15a22df..b3a74d0f4fb 100644 --- a/pkgs/games/snake4/default.nix +++ b/pkgs/games/snake4/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation rec { name = "snake4-1.0.14"; src = fetchurl { - url = "http://shh.thathost.com/pub-unix/files/${name}.tar.gz"; + url = "https://shh.thathost.com/pub-unix/files/${name}.tar.gz"; sha256 = "14cng9l857np42zixp440mbc8y5675frb6lhsds53j1cws9cncw9"; }; @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "A game starring a fruit-eating snake"; - homepage = http://shh.thathost.com/pub-unix/html/snake4.html; + homepage = https://shh.thathost.com/pub-unix/html/snake4.html; license = licenses.artistic1; platforms = platforms.linux; }; |