Subject: [PATCH 63/64] gnu: Add rust-rodio-0.15.

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

* gnu/packages/crates-io.scm (rust-rodio-0.15): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5f1b2f6cb5..19fd141a4f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17585,6 +17585,33 @@ (define-public rust-crunchy-0.2
 number ``crunching``.")
     (license license:expat)))
 
+(define-public rust-rodio-0.15
+  (package
+    (name "rust-rodio")
+    (version "0.15.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rodio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "07kkrx0hxfcqgkpg0lrh9355bj1rl0k65nwsk3qwdri6yvlkj2gc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-claxon" ,rust-claxon-0.4)
+                       ("rust-cpal" ,rust-cpal-0.13)
+                       ("rust-hound" ,rust-hound-3)
+                       ("rust-lewton" ,rust-lewton-0.10)
+                       ("rust-minimp3" ,rust-minimp3-0.5)
+                       ("rust-symphonia" ,rust-symphonia-0.4))))
+    (native-inputs (list pkg-config))
+    (inputs (list alsa-lib))
+    (home-page "https://github.com/RustAudio/rodio")
+    (synopsis "A pure Rust audio playback library")
+    (description "Audio playback library written in pure Rust that supports
+many formats including AAC, FLAC, MP3, MP4 and WAV.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-roxmltree-0.14
   (package
     (name "rust-roxmltree")
-- 
2.41.0