[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: java-xpp3: Download source from

From: guix-commits
Subject: 01/03: gnu: java-xpp3: Download source from
Date: Sun, 3 Jul 2022 05:20:54 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 207ef8758ee60148855fea9c4e7d4e4bd825a3ae
Author: Christopher Baines <>
AuthorDate: Sat Jul 2 21:15:47 2022 +0100

    gnu: java-xpp3: Download source from
    The site is now serving a redirect:
      This site has been deprecated. You can access an archive of this site at
    Because this isn't a 404, as it probably should be, guix follows this 
    and gets some content that isn't the file it asked for.
    To avoid this incorrect behaviour, switch to using a URL for
    the file instead.
    * gnu/packages/xml.scm (java-xpp3)[source]: Switch the uri to
 gnu/packages/xml.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 0ae51d2e2b..c3213b8f36 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1936,9 +1936,12 @@ validator.")
     (version "1.1.4")
     (source (origin
               (method url-fetch)
-              (uri (string-append "";
-                                  "java-repository/xpp3/distributions/xpp3-"
-                                  version "_src.tgz"))
+              (uri (string-append
+                    "";
+                    "xpp3-1.1.4_src.tgz"
+                    "/sha256/"
+                    "1b99zrhyij5qwyhilyjdl1ykxvhk902vsvflh6gx4fir8hfvdl5p"))
+              (file-name (string-append name "-" version "_src.tgz"))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]