summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-05-01 20:36:09 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-05-01 22:36:47 +0200
commit934f0b32cfacd0bc05e79e54ffbc3bc253a0eb2d (patch)
treef5b031f7190b6c63e766bd6c9102b283eca4b730
parent26e11cffb983604c813064343e41708b99072e4f (diff)
downloadguix-934f0b32cfacd0bc05e79e54ffbc3bc253a0eb2d.tar.gz
gnu: icu4c: Update source URI.
The previous URL started serving a HTML page, which ultimately refers to
<https://github.com/unicode-org/icu/releases>.
Reported by butterypancake on #guix.

* gnu/packages/icu4c.scm (icu4c)[source](uri): Change to GitHub.
-rw-r--r--gnu/packages/icu4c.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index beeb2d7ff4..2014813466 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -61,8 +61,8 @@
    (source (origin
             (method url-fetch)
             (uri (string-append
-                  "http://download.icu-project.org/files/icu4c/"
-                  version
+                  "https://github.com/unicode-org/icu/releases/download/release-"
+                  (string-map (lambda (x) (if (char=? x #\.) #\- x)) version)
                   "/icu4c-"
                   (string-map (lambda (x) (if (char=? x #\.) #\_ x)) version)
                   "-src.tgz"))