summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-audio.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-26 19:12:49 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:19:27 +0200
commit8e2a13d02cacd071ee53bb303aa26b384439116b (patch)
tree370eaadd909660897eca6b234e1c7d5721bf8866 /gnu/packages/crates-audio.scm
parent96d614ff1943451eb4f7c6c42e5c79b00b3a5ed7 (diff)
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
Diffstat (limited to 'gnu/packages/crates-audio.scm')
-rw-r--r--gnu/packages/crates-audio.scm28
1 files changed, 28 insertions, 0 deletions
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")