guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: java-xpp3: Download source from ci.guix.gnu.org.


From: guix-commits
Subject: 01/03: gnu: java-xpp3: Download source from ci.guix.gnu.org.
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 <mail@cbaines.net>
AuthorDate: Sat Jul 2 21:15:47 2022 +0100

    gnu: java-xpp3: Download source from ci.guix.gnu.org.
    
    The www.extreme.indiana.edu site is now serving a redirect:
    
      This site has been deprecated. You can access an archive of this site at
      
https://web.archive.org/web/20210225153105/https://www.extreme.indiana.edu/.
    
    Because this isn't a 404, as it probably should be, guix follows this 
redirect
    and gets some content that isn't the file it asked for.
    
    To avoid this incorrect behaviour, switch to using a ci.guix.gnu.org URL for
    the file instead.
    
    * gnu/packages/xml.scm (java-xpp3)[source]: Switch the uri to 
ci.guix.gnu.org.
---
 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 "http://www.extreme.indiana.edu/dist/";
-                                  "java-repository/xpp3/distributions/xpp3-"
-                                  version "_src.tgz"))
+              (uri (string-append
+                    "https://ci.guix.gnu.org/file/";
+                    "xpp3-1.1.4_src.tgz"
+                    "/sha256/"
+                    "1b99zrhyij5qwyhilyjdl1ykxvhk902vsvflh6gx4fir8hfvdl5p"))
+              (file-name (string-append name "-" version "_src.tgz"))
               (sha256
                (base32
                 "1b99zrhyij5qwyhilyjdl1ykxvhk902vsvflh6gx4fir8hfvdl5p"))



reply via email to

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