Subject: [bug#76841] [PATCH] gnu: icu4c: Fix uri procedure.

From: Greg Hogan <[email-masked]>
Date: Fri, 7 Mar 2025 20:22:06 +0000

This is a small fix for #76750. No rebuilds.

* gnu/packages/icu4c.scm (icu4?-uri, icu4c-uri, icu4j-uri):
Revert to distinct release file suffixes.

Change-Id: Icd1fd03c7147c3ee77111bb815294f654053c203
---
 gnu/packages/icu4c.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index 5209f2f19b1..89546751bd1 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -43,19 +43,19 @@ (define-module (gnu packages icu4c)
   #:use-module (guix build-system ant)
   #:use-module (guix build-system gnu))
 
-(define (icu4?-uri variant version)
+(define (icu4?-uri variant suffix version)
   (string-append
    "https://github.com/unicode-org/icu/releases/download/release-"
    (string-map (lambda (x) (if (char=? x #\.) #\- x)) version)
    "/icu4" variant "-"
    (string-map (lambda (x) (if (char=? x #\.) #\_ x)) version)
-   "-src.tgz"))
+   suffix))
 
 (define (icu4c-uri version)
-  (icu4?-uri "c" version))
+  (icu4?-uri "c" "-src.tgz" version))
 
 (define (icu4j-uri version)
-  (icu4?-uri "j" version))
+  (icu4?-uri "j" ".tgz" version))
 
 (define-public icu4c
   (package

base-commit: c8bde3c6725be4eb0743a153a3cf8de453d9e448
-- 
2.47.1