aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-04-19 22:43:29 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-04-20 08:42:06 +0300
commita8f01c45c627f92f9fa1ab8b0c8de722ecd1e4df (patch)
tree5aadc36a3aa362cfc97f3bf8c39028a9fe6f4737
parent6632fc2897287141d8982e7a3a03091fa20289de (diff)
downloadpatches-a8f01c45c627f92f9fa1ab8b0c8de722ecd1e4df.tar
patches-a8f01c45c627f92f9fa1ab8b0c8de722ecd1e4df.tar.gz
gnu: java-bouncycastle: Don't use unstable tarball.
* gnu/packages/java.scm (java-bouncycastle)[source]: Download using git-fetch. Use upstream's repo, not a mirror.
-rw-r--r--gnu/packages/java.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 7ad72f4fcf..cab90fb4e7 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9483,13 +9483,15 @@ algorithms and xxHash hashing algorithm.")
(name "java-bouncycastle")
(version "1.60")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/bcgit/bc-java/archive/r"
- (substring version 0 1) "v"
- (substring version 2 4) ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "http://git.bouncycastle.org/repositories/bc-java")
+ ;(url "https://github.com/bcgit/bc-java")
+ (commit (string-append "r1rv" (substring version 2 4)))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0v434513y708qc87k4xz13p2kzydc736lk3ks67df9mg11s7hchv"))
+ "1m921a1ac2dl797ffzg3d4j97ch308f25spb4jgsj3npfmmys5gb"))
(modules '((guix build utils)))
(snippet
'(begin