Subject: [bug#66717] [PATCH 61/64] gnu: Add rust-symphonia-format-wav-0.4.

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

* gnu/packages/crates-io.scm (rust-symphonia-format-wav-0.4): New variable.
---
 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 4b92adf9b5..cd62ba56b3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70807,6 +70807,29 @@ (define-public rust-symphonia-format-ogg-0.4
 supports a wide range of audio formats.  This package is an OGG demuxer.")
     (license license:mpl2.0)))
 
+(define-public rust-symphonia-format-wav-0.4
+  (package
+    (name "rust-symphonia-format-wav")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "symphonia-format-wav" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1b8x213s44xis4pb1ibnqr1a20hsxf3phm527dvadpi0nkjsb7vd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+                       ("rust-symphonia-core" ,rust-symphonia-core-0.4)
+                       ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4))))
+    (home-page "https://github.com/pdeljanov/Symphonia")
+    (synopsis "A Rust WAV demuxer from the Symphonia project")
+    (description
+     "Symphonia is a pure Rust decoding and media demuxing library that
+supports a wide range of audio formats. This package is a WAV demuxer.")
+    (license license:mpl2.0)))
+
 (define-public rust-symphonia-utils-xiph-0.4
   (package
     (name "rust-symphonia-utils-xiph")
-- 
2.41.0