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

  • Open
  • quality assurance status badge
Details
One participant
  • gravitydiv10
Owner
unassigned
Submitted by
gravitydiv10
Severity
normal
G
G
gravitydiv10 wrote on 22 Nov 2023 15:17
(name . guix-patches@gnu.org)(address . guix-patches@gnu.org)(name . gravitydiv10@protonmail.com)(address . gravitydiv10@protonmail.com)
11pB0oyJb8TMn7LimDdtWFEYzosRHZPu6_lYVL1lrVfv8xqMuL2DgACLYIF2WJtLznf3eSAsBF8ZdFzbiusJCOjJWRQ9xpRG7d_sM7y-OTY=@protonmail.com
From ee65a1426e192623b51a2daec8d1101bfbeb86ab Mon Sep 17 00:00:00 2001
Message-ID: <ee65a1426e192623b51a2daec8d1101bfbeb86ab.1700662237.git.gravitydiv10@protonmail.com>
In-Reply-To: <a61e0dec65d0b4c9f04dc5bc6bb4768d0ff170d9.1700662237.git.gravitydiv10@protonmail.com>
References: <a61e0dec65d0b4c9f04dc5bc6bb4768d0ff170d9.1700662237.git.gravitydiv10@protonmail.com>
From: Lu <gravitydiv10@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(+)

Toggle diff (36 lines)
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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 67374@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 67374
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch