From 593e11fd944ce961ecf5425c3540df09e4f52265 Mon Sep 17 00:00:00 2001 From: Patrick Hilhorst Date: Wed, 22 Jan 2020 11:26:22 +0100 Subject: 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 ``` --- pkgs/games/snake4/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/games/snake4') diff --git a/pkgs/games/snake4/default.nix b/pkgs/games/snake4/default.nix index f37e15a22dfe..b3a74d0f4fbe 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; }; -- cgit 1.4.1