GNU bug report logs - #78550
[PATCH 0/2] gnu: Add go-mtpfs.

Previous Next

Package: guix-patches;

Reported by: Junker <dk <at> junkeria.club>

Date: Thu, 22 May 2025 14:34:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Junker <dk <at> junkeria.club>
To: 78550 <at> debbugs.gnu.org
Subject: [bug#78550] [PATCH 1/2] gnu: Add go-github-com-hanwen-usb.
Date: Thu, 22 May 2025 21:39:23 +0700
* gnu/packages/libusb.scm (go-github-com-hanwen-usb): New variable.

Change-Id: I4a70f9adf0b33bd669162cbb8e329ae6c10a6a56
---
 gnu/packages/libusb.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index a6e24f8c41..ebb3d8a92a 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 ;;; Copyright © 2023 Foundation Devices, Inc. <hello <at> foundationdevices.com>
 ;;; Copyright © 2024 hapster <o.rojon <at> posteo.net>
+;;; Copyright © 2025 Junker <dk <at> 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")
-- 
2.49.0





This bug report was last modified 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.