diff options
author | Steve George <steve@futurile.net> | 2023-10-23 23:21:48 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-24 14:53:33 +0300 |
commit | 153b63134def4b547295361bf2dd4fcf7293fdaa (patch) | |
tree | 70254f22918c0d1451f566dce41724b3c4184c6a /gnu | |
parent | 188e08e779524bb77da5f783363fc6058bb7abd2 (diff) | |
download | guix-153b63134def4b547295361bf2dd4fcf7293fdaa.tar.gz guix-153b63134def4b547295361bf2dd4fcf7293fdaa.zip |
gnu: Add rust-rodio-0.15.
* gnu/packages/crates-io.scm (rust-rodio-0.15): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I4b084b5f7bdba29f2a0661c0e106169ffde5c74a
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b8efe73808..41c630cfe9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17579,6 +17579,34 @@ abstractions around common WinAPI calls.") number ``crunching``.") (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-roxmltree-0.14 (package (name "rust-roxmltree") |