summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:40 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:53:31 +0300
commit66cd50f8f2c5212efddf35f3e35aaecccb0907bc (patch)
tree77af315f12a2323749fea8464a1f959e1f31b7b9
parentffed57b0282b24f1932204eb789305fce5221b02 (diff)
downloadguix-66cd50f8f2c5212efddf35f3e35aaecccb0907bc.tar.gz
gnu: Add rust-symphonia-bundle-mp3-0.4.
* gnu/packages/crates-io.scm (rust-symphonia-bundle-mp3-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 280927142e..70dffc11ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70389,6 +70389,33 @@ library supporting a wide range of audio formats.  This package contains
 multimedia tag and metadata readers.")
     (license license:mpl2.0)))
 
+(define-public rust-symphonia-bundle-mp3-0.4
+  (package
+    (name "rust-symphonia-bundle-mp3")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "symphonia-bundle-mp3" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14074njhgrcgh2p5iryrd68mgdzcxf9v7p8xfm8ldkhylv29fkgc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("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 "MP1, MP2, and MP3 demuxers and decoders written in pure Rust")
+    (description
+     "Symphonia is a pure Rust audio decoding and media demuxing library
+supporting a wide range of aduio formats.  This package contains support for
+MP1, MP2 and MP3.")
+    (license license:mpl2.0)))
+
+
 (define-public rust-symphonia-utils-xiph-0.4
   (package
     (name "rust-symphonia-utils-xiph")