summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-30 09:46:24 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:52 +0300
commit7cf90f641981b61f9811ef6848761fe031f03b71 (patch)
tree585746ca6abbcd3749ccef827ff270b42ccce287 /gnu
parent3dc7a8ce73943f8bd0a34e39440356b0f2a75e5b (diff)
downloadguix-7cf90f641981b61f9811ef6848761fe031f03b71.tar.gz
gnu: java-easymock: Don't use unstable tarball.
* gnu/packages/java.scm (java-easymock)[source]: Download using git-fetch.
[home-page]: Use https.
Diffstat (limited to 'gnu')
-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 5a124b5115..d1cd62bf83 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4465,12 +4465,14 @@ constructor on object instantiation.")
     (name "java-easymock")
     (version "3.4")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/easymock/easymock/"
-                                  "archive/easymock-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/easymock/easymock/")
+                     (commit (string-append "easymock-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1yzg0kv256ndr57gpav46cyv4a1ns5sj722l50zpxk3j6sk9hnmi"))))
+                "02vybm8hc0i0n9sp2f2iiqn54zwqhq835f76wc6b2m7819z5a8dq"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "easymock.jar"
@@ -4515,7 +4517,7 @@ constructor on object instantiation.")
     (native-inputs
      `(("java-junit" ,java-junit)
        ("java-hamcrest-core" ,java-hamcrest-core)))
-    (home-page "http://easymock.org")
+    (home-page "https://easymock.org/")
     (synopsis "Java library providing mock objects for unit tests")
     (description "EasyMock is a Java library that provides an easy way to use
 mock objects in unit testing.")