pcre: fetch from HTTPS instead of FTP (#44828)

It's not uncommon for enterprise environments to block FTP traffic to external
sites. Since `pcre` gives an official HTTPS download URL [1] alongside the
official FTP endpoint, let's use that instead.

[1] https://www.pcre.org/
This commit is contained in:
Benjamin Hipple 2018-08-09 14:21:29 -04:00 committed by xeji
parent 376c30c839
commit 03709a06a9

View File

@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${version}.tar.bz2";
url = "https://ftp.pcre.org/pub/pcre/pcre-${version}.tar.bz2";
sha256 = "00ckpzlgyr16bnqx8fawa3afjgqxw5yxgs2l081vw23qi1y4pl1c";
};