gnu: java-xmlpull2: Use mirrored source and archived home page.

* gnu/packages/xml.scm (java-xmlpull2)[source]: Download from a Gentoo
distfiles mirror.
[home-page]: Point to an archive.org snapshot.
This commit is contained in:
Tobias Geerinckx-Rice 2021-07-23 23:28:33 +02:00
parent 277f58040b
commit c3c003be69
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2070,8 +2070,9 @@ (define-public java-xmlpull2
(version "2.1.10")
(source (origin
(method url-fetch)
(uri (string-append "http://www.extreme.indiana.edu/xgws/xsoap/"
"PullParser/PullParser" version ".tgz"))
;; Unfortunately, archive.org does not have a copy of this file.
(uri (string-append "https://ftp.fau.de/gentoo/distfiles/"
"PullParser" version ".tgz"))
(sha256
(base32
"1kw9nhyqb7bzhn2zjbwlpi5vp5rzj89amzi3hadw2acyh2dmd0md"))
@ -2087,7 +2088,8 @@ (define-public java-xmlpull2
#:phases
(modify-phases %standard-phases
(replace 'install (install-jars "build/lib")))))
(home-page "http://www.extreme.indiana.edu/xgws/xsoap/xpp/")
(home-page (string-append "https://web.archive.org/web/20210225153105/"
"https://www.extreme.indiana.edu/"))
(synopsis "Streaming pull XML parser")
(description "Xml Pull Parser (in short XPP) is a streaming pull XML
parser and should be used when there is a need to process quickly and