Subject: [PATCH 49/64] gnu: Add rust-minimp3-sys-0.3.

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

* gnu/packages/crates-io.scm (rust-minimp3-sys-0.3): 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 d6f8da38c8..6c98d5e010 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83,6 +83,7 @@ (define-module (gnu packages crates-io)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages mail)
+  #:use-module (gnu packages mp3)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages nettle)
   #:use-module (gnu packages pcre)
@@ -41673,6 +41674,28 @@ (define-public rust-minimal-lexical-0.2
 float parser.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-minimp3-sys-0.3
+  (package
+    (name "rust-minimp3-sys")
+    (version "0.3.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "minimp3-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "144vmf3s89kad0smjprzigcp2c9r5dm95n4ydilrbp399irp6772"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs (("rust-cc" ,rust-cc-1))))
+    (native-inputs (list pkg-config))
+    (inputs (list minimp3))
+    (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-miniz-oxide-0.7
   (package
     (name "rust-miniz-oxide")
-- 
2.41.0