summary refs log tree commit diff
path: root/pkgs/development/libraries/pcre
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2018-08-09 14:21:29 -0400
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-09 20:21:29 +0200
commit03709a06a9a18150dae9fdfa8971e3f6da86849f (patch)
tree21af3d76ef686568ed8ba0874b28b478fa395328 /pkgs/development/libraries/pcre
parent376c30c8399cbf23269460183d6af50d8e590ce4 (diff)
downloadnixpkgs-03709a06a9a18150dae9fdfa8971e3f6da86849f.tar
nixpkgs-03709a06a9a18150dae9fdfa8971e3f6da86849f.tar.gz
nixpkgs-03709a06a9a18150dae9fdfa8971e3f6da86849f.tar.bz2
nixpkgs-03709a06a9a18150dae9fdfa8971e3f6da86849f.tar.lz
nixpkgs-03709a06a9a18150dae9fdfa8971e3f6da86849f.tar.xz
nixpkgs-03709a06a9a18150dae9fdfa8971e3f6da86849f.tar.zst
nixpkgs-03709a06a9a18150dae9fdfa8971e3f6da86849f.zip
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/
Diffstat (limited to 'pkgs/development/libraries/pcre')
-rw-r--r--pkgs/development/libraries/pcre/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/pcre/default.nix b/pkgs/development/libraries/pcre/default.nix
index e8bfb51cf9e..04104346748 100644
--- a/pkgs/development/libraries/pcre/default.nix
+++ b/pkgs/development/libraries/pcre/default.nix
@@ -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";
   };