gnu: java-plexus-classworlds: Don't use unstable tarball.
authorEfraim Flashner <efraim@flashner.co.il>
Sun, 29 Mar 2020 19:18:15 +0000 (22:18 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Mon, 30 Mar 2020 07:05:50 +0000 (10:05 +0300)
* gnu/packages/java.scm (java-plexus-classworlds)[source]: Download
using git-fetch.

gnu/packages/java.scm

index da77851..5ee7109 100644 (file)
@@ -3660,13 +3660,14 @@ these two libraries to vary independently of one another.")
     (name "java-plexus-classworlds")
     (version "2.5.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/codehaus-plexus/"
-                                  "plexus-classworlds/archive/plexus-classworlds-"
-                                  version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/codehaus-plexus/plexus-classworlds")
+                     (commit (string-append "plexus-classworlds-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1qm4p0rl8d82lzhsiwnviw11jnq44s0gflg78zq152xyyr2xmh8g"))))
+                "1iv8x55fbni2hg4l7pdpbwfq75xmvq1f25g6nxma8rcdpihsh13r"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "plexus-classworlds.jar"