Subject: [bug#66717] [PATCH 11/64] gnu: rust-alsa: Update to 0.6.0.

From: Steve George <[email-masked]>
Date: Mon, 23 Oct 2023 23:20:56 +0100

* gnu/packages/crates-io.scm (rust-alsa): Update to 0.6.0.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 158111abad..dbaa3f3c45 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3130,6 +3130,36 @@ (define-public rust-alsa-0.7
 MIDI and MIDI sequencer.")
     (license license:expat)))
 
+(define-public rust-alsa-0.6
+  (package
+    (inherit rust-alsa-0.7)
+    (name "rust-alsa")
+    (version "0.6.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "alsa" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0szx8finhqbffh08fp3bgh4ywz0b572vcdyh4hwyhrfgw8pza5ar"))))
+    (arguments
+     (list #:cargo-test-flags `(list "--lib"
+                                     "--bins"
+                                     "--tests"
+                                     "--"
+                                     "--skip=pcm::drop"
+                                     "--skip=pcm::info_from_default"
+                                     "--skip=pcm::playback_to_default"
+                                     "--skip=pcm::record_from_default"
+                                     "--skip=seq::print_seqs"
+                                     "--skip=seq::seq_loopback"
+                                     "--skip=seq::seq_portsubscribeiter"
+                                     "--skip=seq::seq_subscribe")
+           #:cargo-inputs `(("rust-alsa-sys" ,rust-alsa-sys-0.3)
+                            ("rust-bitflags" ,rust-bitflags-1)
+                            ("rust-libc" ,rust-libc-0.2)
+                            ("rust-nix" ,rust-nix-0.23))))))
+
 (define-public rust-alsa-sys-0.3
   (package
     (name "rust-alsa-sys")
-- 
2.41.0