diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-01-17 23:20:38 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-01-17 23:32:34 +0100 |
commit | b7dfc5a707bebc4b6fecd8a6e5bcca618b5acc12 (patch) | |
tree | 44f1af254ae50dd972149c5e963c5f10534254d3 /gnu/packages | |
parent | 0a44f9c4e45c0fc8426bda6b8b5983bdf49a7ed3 (diff) | |
download | guix-patches-b7dfc5a707bebc4b6fecd8a6e5bcca618b5acc12.tar guix-patches-b7dfc5a707bebc4b6fecd8a6e5bcca618b5acc12.tar.gz |
gnu: hidapi: Don't use unstable tarball.
* gnu/packages/libusb.scm (hidapi)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/libusb.scm | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index 878f9e58ed..ae904fe5a9 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) |