stunnel: fetchurl more securely

This commit is contained in:
SLNOS 2018-02-01 00:00:00 +00:00 committed by Jan Malakhovski
parent 2341c81427
commit 3be3c2906e

View File

@ -5,8 +5,10 @@ stdenv.mkDerivation rec {
version = "5.44";
src = fetchurl {
url = "http://www.stunnel.org/downloads/${name}.tar.gz";
sha256 = "1692y69wl7j6yjgnrrzclgzb34bxsaxjzl1dfy47vms7pdfk42lr";
url = "https://www.stunnel.org/downloads/${name}.tar.gz";
sha256 = "990a325dbb47d77d88772dd02fbbd27d91b1fea3ece76c9ff4461eca93f12299";
# please use the contents of "https://www.stunnel.org/downloads/${name}.tar.gz.sha256",
# not the output of `nix-prefetch-url`
};
buildInputs = [ openssl ];