guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/17: gnu: hidapi: Don't use unstable tarball.


From: guix-commits
Subject: 16/17: gnu: hidapi: Don't use unstable tarball.
Date: Fri, 17 Jan 2020 17:45:35 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit b7dfc5a707bebc4b6fecd8a6e5bcca618b5acc12
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Fri Jan 17 23:20:38 2020 +0100

    gnu: hidapi: Don't use unstable tarball.
    
    * gnu/packages/libusb.scm (hidapi)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/libusb.scm | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 878f9e5..ae904fe 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -526,13 +526,14 @@ devices.")
   (package
     (name "hidapi")
     (version "0.8.0-rc1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/signal11/hidapi/archive/hidapi-";
-                                  version ".tar.gz"))
-              (sha256
-               (base32
-                "0qdgyj9rgb7n0nk3ghfswrhzzknxqn4ibn3wj8g4r828pw07451w"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/signal11/hidapi.git";)
+             (commit (string-append "hidapi-" version))))
+       (sha256
+        (base32 "13d5jkmh9nh4c2kjch8k8amslnxapa9vkqzrk1z6rqmw8qgvzbkj"))))
     (build-system gnu-build-system)
     (inputs
      `(("libusb" ,libusb)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]