summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:35 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:53:30 +0300
commit991e8d39a688c0557f1543677c4411bb938eb88e (patch)
tree9a40af6840b1a2fae5ddd975a36ef52cd865fe70
parent604fbc07eccd5b1602024572add872b6949f0ad6 (diff)
gnu: Add rust-minimp3-0.5.
* gnu/packages/crates-io.scm (rust-minimp3-0.5): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I2d450eaec36488bda24665c7b470829d853f4c4f
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 61ef6e8431..1e0633f2a2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41412,6 +41412,31 @@ efficient round-trip float parsing. Minimal-lexical implements a correct, fast
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
+ `(#:tests? #f ; no method named `next_frame_future` found for struct `Decoder`
+ #: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))
+ #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3)
+ ("rust-tokio" ,rust-tokio-1))))
+ (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-minimp3-sys-0.3
(package
(name "rust-minimp3-sys")