guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

50/66: gnu: Add rust-minimp3-sys-0.3.


From: guix-commits
Subject: 50/66: gnu: Add rust-minimp3-sys-0.3.
Date: Tue, 24 Oct 2023 07:55:02 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 604fbc07eccd5b1602024572add872b6949f0ad6
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:21:34 2023 +0100

    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
---
 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 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]