From 07c86582e97daa5e89bb36fa56919feb18d5976d Mon Sep 17 00:00:00 2001 From: Steve George Date: Tue, 24 Oct 2023 14:27:00 +0300 Subject: gnu: Add rust-coreaudio-rs-0.10. * gnu/packages/crates-io.scm (rust-coreaudio-rs-0.10): New variable. Signed-off-by: Efraim Flashner Change-Id: I0840d5972ba84c50da06e558443e267ae27e71d4 --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8ca3237369..0f4cd290b7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15503,6 +15503,28 @@ contents of the OS-level clipboard.") numbers using the CORDIC method.") (license license:bsd-3))) +(define-public rust-coreaudio-rs-0.10 + (package + (name "rust-coreaudio-rs") + (version "0.10.0") + (source (origin + (method url-fetch) + (uri (crate-uri "coreaudio-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "125d4zr3n363ybga4629p41ym7iqjfb2alnwrc1zj7zyxch4p28i")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Only builds for macos or ios. + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-coreaudio-sys" ,rust-coreaudio-sys-0.2)))) + (home-page "https://github.com/RustAudio/coreaudio-rs") + (synopsis "Rust interface for Apple's CoreAudio API") + (description + "This package provides a rust interface for Apple's CoreAudio API.") + (license (list license:expat license:asl2.0)))) + (define-public rust-coreaudio-sys-0.2 (package (name "rust-coreaudio-sys") -- cgit v1.2.3