diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-26 19:36:57 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:19:29 +0200 |
commit | b60fe402f1de1c80e24768dd221e81c7baeb12e9 (patch) | |
tree | d62b92f46484750f30b805037d4c6e6bced8e7e4 /gnu/packages/crates-audio.scm | |
parent | db221b7dd38f421598cb30b8f71f8a4b1358eb4d (diff) |
gnu: rust-minimp3-0.5: Move to (gnu packages crates-audio).
* gnu/packages/crates-io.scm (rust-minimp3-0.5, rust-minimp3-sys-0.3):
Move from here ...
* gnu/packages/crates-audio.scm: ... to here.
Change-Id: Iec1ad3c7440baf7b912706edb158def07b3939af
Diffstat (limited to 'gnu/packages/crates-audio.scm')
-rw-r--r-- | gnu/packages/crates-audio.scm | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/gnu/packages/crates-audio.scm b/gnu/packages/crates-audio.scm index 7a1c31937b0..1d11b4d1bf2 100644 --- a/gnu/packages/crates-audio.scm +++ b/gnu/packages/crates-audio.scm @@ -36,6 +36,7 @@ #:use-module (gnu packages crates-web) #:use-module (gnu packages crates-windows) #:use-module (gnu packages linux) + #:use-module (gnu packages mp3) #:use-module (gnu packages pkg-config)) ;;; @@ -755,6 +756,53 @@ to create LV2 plugins in Rust.") (description "This package provides a Rust LV2 work offloading library.") (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") + (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-ogg-0.8 (package (name "rust-ogg") |