Subject: [bug#66717] [PATCH 58/64] gnu: Add rust-symphonia-codec-vorbis-0.4.

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

* gnu/packages/crates-io.scm (rust-symphonia-codec-vorbis-0.4): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bde9fe2e4b..f6616ed175 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70734,6 +70734,30 @@ (define-public rust-symphonia-codec-pcm-0.4
 @acronym{PCM, Pulse-Code Modulation} audio decoder.")
     (license license:mpl2.0)))
 
+(define-public rust-symphonia-codec-vorbis-0.4
+  (package
+    (name "rust-symphonia-codec-vorbis")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "symphonia-codec-vorbis" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1yj1si92fnnzdfkw27cq324h6y1s958s8r2hl0szpvvqh1sdd7m2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+                       ("rust-symphonia-core" ,rust-symphonia-core-0.4)
+                       ("rust-symphonia-utils-xiph" ,rust-symphonia-utils-xiph-0.4))))
+    (home-page "https://github.com/pdeljanov/Symphonia")
+    (synopsis "Pure Rust Vorbis decoder, part of the Symphonia project")
+    (description
+     "Symphonia is a pure Rust audio decoding and media demuxing library
+that supports a wide range of audio formats.  This package is a Vorbis
+decoder.")
+    (license license:mpl2.0)))
+
 (define-public rust-symphonia-utils-xiph-0.4
   (package
     (name "rust-symphonia-utils-xiph")
-- 
2.41.0