gnu: libusb-compat: Fix upstream hash mismatch.

Fixes <https://issues.guix.gnu.org/73974>.

* gnu/packages/libusb.scm (libusb-compat)[source]: Update sha256.
Add snippet.

Change-Id: Id44539e77936912d10b5048d1d6ce2f6ec49f7ad
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Greg Hogan 2024-10-23 18:19:01 +00:00 committed by Ludovic Courtès
parent f0aa6c45b6
commit 0e80fef620
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -101,7 +101,12 @@ (define-public libusb-compat
"libusb-compat-" version "/"
"libusb-compat-" version ".tar.bz2"))
(sha256
(base32 "09q8w00djrkaxbiklcgjwya1w0n3aqavsz06fl0ixv1x9x47d339"))))
(base32 "0p5hz5q1ppd4d2wwhzfp4vwh6ngfwh627j73pv0chw60fkvdr4mn"))
(snippet #~(begin
;; Delete Autotools-generated files.
(use-modules (guix build utils))
(delete-file "configure")
(for-each delete-file (find-files "^Makefile\\.in$"))))))
(build-system gnu-build-system)
(arguments
(list #:configure-flags