stunnel: fetchurl more securely

authored by SLNOS and committed by Jan Malakhovski 3be3c290 2341c814

+4 -2
+4 -2
pkgs/tools/networking/stunnel/default.nix
··· 5 5 version = "5.44"; 6 6 7 7 src = fetchurl { 8 - url = "http://www.stunnel.org/downloads/${name}.tar.gz"; 9 - sha256 = "1692y69wl7j6yjgnrrzclgzb34bxsaxjzl1dfy47vms7pdfk42lr"; 8 + url = "https://www.stunnel.org/downloads/${name}.tar.gz"; 9 + sha256 = "990a325dbb47d77d88772dd02fbbd27d91b1fea3ece76c9ff4461eca93f12299"; 10 + # please use the contents of "https://www.stunnel.org/downloads/${name}.tar.gz.sha256", 11 + # not the output of `nix-prefetch-url` 10 12 }; 11 13 12 14 buildInputs = [ openssl ];