unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Wilko Meyer <w@wmeyer.eu>
To: 73856@debbugs.gnu.org
Cc: Wilko Meyer <w@wmeyer.eu>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#73856] [PATCH 2/8] gnu: Add rust-rusb-0.9.
Date: Fri, 18 Oct 2024 01:56:35 +0200	[thread overview]
Message-ID: <20f0f2f489052f708d06d78908d381c4dfa2dcf7.1729208744.git.w@wmeyer.eu> (raw)
In-Reply-To: <cover.1729208744.git.w@wmeyer.eu>

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ea4f087b75..6354b3ed93 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65301,6 +65301,28 @@ (define-public rust-etherparse-0.9
        #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)
                                    ("rust-proptest" ,rust-proptest-0.9))))))
 
+(define-public rust-rusb-0.9
+  (package
+    (name "rust-rusb")
+    (version "0.9.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rusb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1905rijhabvylblh24379229hjmkfhxr80jc79aqd9v3bgq9z7xb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-libusb1-sys" ,rust-libusb1-sys-0.7)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/a1ien/rusb")
+    (synopsis "Library for accessing USB devices")
+    (description
+     "This package provides a Rust library for accessing USB devices.")
+    (license license:expat)))
+
 (define-public rust-rust-hawktracer-0.7
   (package
     (name "rust-rust-hawktracer")
-- 
2.46.0





  parent reply	other threads:[~2024-10-18  0:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-17 23:51 [bug#73856] [PATCH 0/8] gnu: Add cyme Wilko Meyer
2024-10-17 23:56 ` [bug#73856] [PATCH 1/8] gnu: Add rust-libusb1-sys-0.7 Wilko Meyer
2024-10-17 23:56 ` Wilko Meyer [this message]
2024-10-17 23:56 ` [bug#73856] [PATCH 3/8] gnu: Add rust-serde-with-2 Wilko Meyer
2024-10-17 23:56 ` [bug#73856] [PATCH 4/8] gnu: Add rust-serde-with-macros-2 Wilko Meyer
2024-10-17 23:56 ` [bug#73856] [PATCH 5/8] gnu: Add rust-udev-0.8 Wilko Meyer
2024-10-17 23:56 ` [bug#73856] [PATCH 6/8] gnu: Add rust-udevrs-0.3 Wilko Meyer
2024-10-17 23:56 ` [bug#73856] [PATCH 7/8] gnu: Add rust-usb-ids-1 Wilko Meyer
2024-10-17 23:56 ` [bug#73856] [PATCH 8/8] gnu: Add cyme Wilko Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20f0f2f489052f708d06d78908d381c4dfa2dcf7.1729208744.git.w@wmeyer.eu \
    --to=w@wmeyer.eu \
    --cc=73856@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).