GNU bug report logs -
#64778
[PATCH 0/5] Add wally-cli
Previous Next
Reported by: Karl Hallsby <karl <at> hallsby.com>
Date: Fri, 21 Jul 2023 23:50:02 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/golang.scm (go-github-com-google-gousb): New variable. Init at
2.1.0.
---
gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ea6aadbe80..8f02d77873 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -41,6 +41,7 @@
;;; Copyright © 2022 Christopher Howard <christopher <at> librehacker.com>
;;; Copyright © 2023 Hilton Chain <hako <at> ultrarare.space>
;;; Copyright © 2023 Timo Wilken <guix <at> twilken.net>
+;;; Copyright © 2023 Raven Hallsby <karl <at> hallsby.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -78,6 +79,7 @@ (define-module (gnu packages golang)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages lua)
+ #:use-module (gnu packages libusb)
#:use-module (gnu packages mail)
#:use-module (gnu packages mp3)
#:use-module (gnu packages password-utils)
@@ -8186,6 +8188,32 @@ (define-public go-github-com-google-goterm
and from termios translations, readCh, reading passwords, etc.")
(license license:bsd-3))))
+(define-public go-github-com-google-gousb
+ (package
+ (name "go-github-com-google-gousb")
+ (version "2.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/gousb")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1aki6hk009sicrf7gxy5nkjmj4j7lsy0by4kjgd9bwq8ragfyv5x"))))
+ (native-inputs (list pkg-config libusb))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/google/gousb"
+ #:phases (modify-phases %standard-phases
+ ;; Delete the check phase because libusbContext and
+ ;; libusbDevHandle cannot be allocated in Go.
+ (delete 'check))))
+ (home-page "https://github.com/google/gousb")
+ (synopsis "Go-like bindings around the libusb library")
+ (description "Go-like bindings around the libusb library")
+ (license license:asl2.0)))
+
(define-public go-github-com-google-go-querystring
(let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests
(revision "1"))
--
2.40.1
This bug report was last modified 1 year and 113 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.