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.
This commit is contained in:
Christopher Baines 2022-07-02 21:15:47 +01:00
parent c145e51844
commit 207ef8758e
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -1936,9 +1936,12 @@ (define-public java-xpp3
(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"))