Subject: bug#67374: closed (Re: [bug#67374] [PATCH 03/10] gnu: Add rust-rusb 0.9.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 09 Mar 2025 18:14:02 +0000

Your bug report

#67374: [PATCH 03/10] gnu: Add rust-rusb 0.9.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
67374: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67374
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#67374] [PATCH 03/10] gnu: Add rust-rusb 0.9.
From: Nicolas Goaziou <[email-masked]>
To: [email-masked]
Date: Sun, 09 Mar 2025 19:13:28 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

> * gnu/packages/crates-io.scm (rust-rusb-0.9): New variable.

Package already included. Closing.

Subject: [PATCH 03/10] gnu: Add rust-rusb 0.9.
From: gravitydiv10 <[email-masked]>
To: "[email-masked]" <[email-masked]>
Cc: "[email-masked]" <[email-masked]>
Date: Wed, 22 Nov 2023 14:17:03 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

>From ee65a1426e192623b51a2daec8d1101bfbeb86ab Mon Sep 17 00:00:00 2001
Message-ID: <ee65[email-masked]>
In-Reply-To: <a61e[email-masked]>
References: <a61e[email-masked]>
From: Lu <[email-masked]>
Date: Wed, 22 Nov 2023 21:43:27 +0800
Subject: [PATCH 03/10] gnu: Add rust-rusb 0.9.

* gnu/packages/crates-io.scm (rust-rusb-0.9): New variable.

Change-Id: Ib3c1223b2c1831a1696b59d7d6fac11de11ba2d9
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a4200a9bd..a523f20974 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17707,6 +17707,29 @@ (define-public rust-rt-format-0.3
 character.")
     (license license:asl2.0)))
 
+(define-public rust-rusb-0.9
+  (package
+    (name "rust-rusb")
+    (version "0.9.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rusb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1gwpm8wmw4pbkga694n0vbkfh7m14p3b5dyb4pl2agq3nr4z3zs5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-libusb1-sys" ,rust-libusb1-sys-0.6)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/a1ien/rusb")
+    (synopsis "Rust library for accessing USB devices")
+    (description "This library provide a interface for accessing USB devices
+in Rust.")
+    (license license:expat)))
+
 (define-public rust-rusticata-macros-4
   (package
     (name "rust-rusticata-macros")
-- 
2.41.0