gnu: java-slf4j-api: Update the source URI.

* gnu/packages/java.scm (java-slf4j-api)[source]: Replace the URI with
"git-reference" to GitHub as the origin reference to
"https://www.slf4j.org/dist/slf4j-..."  seems to be broken.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Artyom V. Poptsov 2022-09-11 07:09:21 +03:00 committed by Mathieu Othacehe
parent 399fae26af
commit 8efed18128
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -8065,12 +8065,14 @@ more efficient storage-wise than an uncompressed bitmap (as implemented in the
(name "java-slf4j-api")
(version "1.7.25")
(source (origin
(method url-fetch)
(uri (string-append "https://www.slf4j.org/dist/slf4j-"
version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/qos-ch/slf4j")
(commit (string-append "v_" version))))
(file-name (git-file-name name version))
(sha256
(base32
"13j51sgzmhhdrfa74gkal5zpip7r1440dh7zsi2c8bpb2zs1v8kb"))
"15n42zq3k1iyn752nwdcbs44hxns2rmxhglwjfr4np7lxx56apjl"))
(modules '((guix build utils)))
;; Delete bundled jars.
(snippet