summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-24 10:19:15 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-24 10:19:15 +0300
commit2c9cb2f0a125289151c851e4806cc38da76dff3a (patch)
tree75c14935edfb778a7a7e9442d8017ad211107096 /gnu/packages
parentdcd62e8b8d801ea33d1c8aee4f0325ba4a8d6487 (diff)
downloadguix-2c9cb2f0a125289151c851e4806cc38da76dff3a.tar.gz
gnu: java-usb4java: Don't use unstable tarball.
* gnu/packages/libusb.scm (java-usb4java)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/libusb.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 3842f3fead..ce958d86dc 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -166,12 +166,14 @@ with usb4java.")
     (name "java-usb4java")
     (version "1.2.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/usb4java/usb4java/"
-                                  "archive/usb4java-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/usb4java/usb4java")
+                     (commit (string-append "usb4java-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0gzpsnzwgsdyra3smq288yvxnwrgvdwxr6g8jbknnsk56kv6wc34"))))
+                "0aip6k24czz5g58qwb963mpick0b6ks774drfpdd8gcdvj9iv87j"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "usb4java.jar"