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

Previous Next

Package: guix-patches;

Reported by: gravitydiv10 <gravitydiv10 <at> protonmail.com>

Date: Wed, 22 Nov 2023 14:31:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 67374 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#67374; Package guix-patches. (Wed, 22 Nov 2023 14:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to gravitydiv10 <gravitydiv10 <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 22 Nov 2023 14:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: gravitydiv10 <gravitydiv10 <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Cc: "gravitydiv10 <at> protonmail.com" <gravitydiv10 <at> protonmail.com>
Subject: [PATCH 03/10] gnu: Add rust-rusb 0.9.
Date: Wed, 22 Nov 2023 14:17:03 +0000
From ee65a1426e192623b51a2daec8d1101bfbeb86ab Mon Sep 17 00:00:00 2001
Message-ID: <ee65a1426e192623b51a2daec8d1101bfbeb86ab.1700662237.git.gravitydiv10 <at> protonmail.com>
In-Reply-To: <a61e0dec65d0b4c9f04dc5bc6bb4768d0ff170d9.1700662237.git.gravitydiv10 <at> protonmail.com>
References: <a61e0dec65d0b4c9f04dc5bc6bb4768d0ff170d9.1700662237.git.gravitydiv10 <at> protonmail.com>
From: Lu <gravitydiv10 <at> protonmail.com>
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




This bug report was last modified 362 days ago.

Previous Next


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