summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:34 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:53:30 +0300
commit604fbc07eccd5b1602024572add872b6949f0ad6 (patch)
tree1ff762f5760919e745a80467dad22ef0294f9fd7
parent41a1f3bd2d2e6c14791932deea2be34b11557eb0 (diff)
downloadguix-604fbc07eccd5b1602024572add872b6949f0ad6.tar.gz
gnu: Add rust-minimp3-sys-0.3.
* gnu/packages/crates-io.scm (rust-minimp3-sys-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I86e1020634522ea020d266f41d69bceab9523749
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9070108201..61ef6e8431 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -82,6 +82,7 @@
   #: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)
@@ -41411,6 +41412,28 @@ efficient round-trip float parsing. Minimal-lexical implements a correct, fast
 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      ; Not all files included.
+       #:cargo-inputs (("rust-cc" ,rust-cc-1))))
+    (native-inputs (list pkg-config))
+    (inputs (list minimp3))
+    (home-page "https://github.com/germangb/minimp3-rs")
+    (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")