[bug#78550,1/2] gnu: Add go-github-com-hanwen-usb.
Commit Message
* gnu/packages/libusb.scm (go-github-com-hanwen-usb): New variable.
Change-Id: I4a70f9adf0b33bd669162cbb8e329ae6c10a6a56
---
gnu/packages/libusb.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
@@ -16,6 +16,7 @@
;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
;;; Copyright © 2024 hapster <o.rojon@posteo.net>
+;;; Copyright © 2025 Junker <dk@junkeria.club>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -209,6 +210,33 @@ (define-public go-github-com-google-gousb
Go-like binding.")
(license license:asl2.0)))
+(define-public go-github-com-hanwen-usb
+ (let ((commit "69aee4530ac705cec7c5344418d982aaf15cf0b1")
+ (revision "1"))
+ (package
+ (name "go-github-com-hanwen-usb")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hanwen/usb")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "01k0c2g395j65vm1w37mmrfkg6nm900khjrrizzpmx8f8yf20dky"))))
+ (build-system go-build-system)
+ (inputs (list libusb))
+ (native-inputs (list pkg-config))
+ (arguments
+ (list
+ #:tests? #f ;no tests
+ #:import-path "github.com/hanwen/usb"))
+ (home-page "https://github.com/hanwen/usb")
+ (synopsis "CGO bindings for libusb")
+ (description "These are CGO bindings for libusb")
+ (license license:bsd-3))))
+
(define-public java-usb4java
(package
(name "java-usb4java")