Subject: [PATCH 57/64] gnu: Add rust-symphonia-code-pcm-0.4

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

* gnu/packages/crates-io.scm (rust-symphonia-code-pcm-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 91d11bfd06..bde9fe2e4b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70711,6 +70711,29 @@ (define-public rust-symphonia-codec-aac-0.4
 decoder.")
     (license license:mpl2.0)))
 
+(define-public rust-symphonia-codec-pcm-0.4
+  (package
+    (name "rust-symphonia-codec-pcm")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "symphonia-codec-pcm" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1is49qjnfy541zpgzz498hnpz0nsq7i4nfky2133b6aqhxrm87ds"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+                       ("rust-symphonia-core" ,rust-symphonia-core-0.4))))
+    (home-page "https://github.com/pdeljanov/Symphonia")
+    (synopsis "Pure Rust PCM audio decoder, part of Symphonia")
+    (description
+     "Symphonia is a pure Rust audio decoding and media demuxing library
+that supports a wide range of audio formats.  This package contains a
+@acronym{PCM, Pulse-Code Modulation} audio decoder.")
+    (license license:mpl2.0)))
+
 (define-public rust-symphonia-utils-xiph-0.4
   (package
     (name "rust-symphonia-utils-xiph")
-- 
2.41.0