From 236280d50a9527cd3735df4db2ae207f4e4d8ac6 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 11 Sep 2022 07:09:21 +0300 Subject: [PATCH 1/2] gnu: java-slf4j-api: Update the source URI. * gnu/packages/java.scm (java-slf4j-api): Replace source URI with "git-reference" to GitHub as the origin reference to "https://www.slf4j.org/dist/slf4j-..." seems to be broken. --- gnu/packages/java.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 73898d120c..9fa9f61f12 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8065,12 +8065,14 @@ (define-public java-slf4j-api (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 -- 2.34.1