Subject: [bug#66717] [PATCH 50/64] gnu: Add rust-minimp3-0.5.

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

* gnu/packages/crates-io.scm (rust-minimp3-0.5): 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 6c98d5e010..411358481f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41674,6 +41674,30 @@ (define-public rust-minimal-lexical-0.2
 float parser.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-minimp3-0.5
+  (package
+    (name "rust-minimp3")
+    (version "0.5.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "minimp3" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0wj3nzj1swnvwsk3a4a3hkfj1d21jsi7babi40wlrxzbbzvkhm4q"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #f
+       #:tests? #f
+       #:cargo-inputs (("rust-minimp3-sys" ,rust-minimp3-sys-0.3)
+                       ("rust-slice-deque" ,rust-slice-deque-0.3)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/germangb/minimp3-rs.git")
+    (synopsis "Rust bindings for the minimp3 library")
+    (description "Rust bindings for the minimp3 library.")
+    (license license:expat)))
+
 (define-public rust-minimp3-sys-0.3
   (package
     (name "rust-minimp3-sys")
-- 
2.41.0