From 8e2a13d02cacd071ee53bb303aa26b384439116b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 26 Dec 2024 19:12:49 +0200 Subject: gnu: rust-rodio-0.15: Move to (gnu packages crates-audio). * gnu/packages/crates-io.scm (rust-rodio-0.15): Move from here ... * gnu/packages/crates-audio.scm: ... to here. Change-Id: Ie6bc38331d99b02e0b25bd31ae54968fe1c63dfc --- gnu/packages/crates-audio.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/crates-audio.scm') diff --git a/gnu/packages/crates-audio.scm b/gnu/packages/crates-audio.scm index b397a4f50b..67774a0317 100644 --- a/gnu/packages/crates-audio.scm +++ b/gnu/packages/crates-audio.scm @@ -765,6 +765,34 @@ audio I/O library.") I/O library.") (license license:expat))) +(define-public rust-rodio-0.15 + (package + (name "rust-rodio") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rodio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07kkrx0hxfcqgkpg0lrh9355bj1rl0k65nwsk3qwdri6yvlkj2gc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-claxon" ,rust-claxon-0.4) + ("rust-cpal" ,rust-cpal-0.13) + ("rust-hound" ,rust-hound-3) + ("rust-lewton" ,rust-lewton-0.10) + ("rust-minimp3" ,rust-minimp3-0.5) + ("rust-symphonia" ,rust-symphonia-0.4)) + #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.9)))) + (native-inputs (list pkg-config)) + (inputs (list alsa-lib)) + (home-page "https://github.com/RustAudio/rodio") + (synopsis "Pure Rust audio playback library") + (description "Audio playback library written in pure Rust that supports +many formats including AAC, FLAC, MP3, MP4 and WAV.") + (license (list license:expat license:asl2.0)))) + (define-public rust-urid-0.1 (package (name "rust-urid") -- cgit v1.2.3