From 991e8d39a688c0557f1543677c4411bb938eb88e Mon Sep 17 00:00:00 2001 From: Steve George Date: Mon, 23 Oct 2023 23:21:35 +0100 Subject: gnu: Add rust-minimp3-0.5. * gnu/packages/crates-io.scm (rust-minimp3-0.5): New variable. Signed-off-by: Efraim Flashner Change-Id: I2d450eaec36488bda24665c7b470829d853f4c4f --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/crates-io.scm') 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") -- cgit 1.4.1