diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 18:53:25 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:24 +0200 |
commit | 81d9082a0d5b2001e23d50d59e466d51887c2ba5 (patch) | |
tree | 3be15a4fcbac770da198bee402eaef3edfc787d3 /gnu/packages/crates-apple.scm | |
parent | 6a56702df71ffebf9fceeef140876dd490974112 (diff) | |
download | guix-81d9082a0d5b2001e23d50d59e466d51887c2ba5.tar.gz guix-81d9082a0d5b2001e23d50d59e466d51887c2ba5.zip |
gnu: rust-coreaudio: Move to (gnu packages crates-apple).
* gnu/packages/crates-io.scm (rust-coreaudio-rs-0.10,
rust-coreaudio-sys-0.2): Move from here ...
* gnu/packages/crates-apple.scm: ... to here.
Change-Id: I3c9dec888f543cc63152d2a51f8699cc072a05f5
Diffstat (limited to 'gnu/packages/crates-apple.scm')
-rw-r--r-- | gnu/packages/crates-apple.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm index c2275334e1..5f27975cae 100644 --- a/gnu/packages/crates-apple.scm +++ b/gnu/packages/crates-apple.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> ;;; Copyright © 2023, 2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2023 Steve George <steve@futurile.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -126,3 +127,47 @@ extension of blocks.") `(#:tests? #f ; Tests require gcc-objc. #:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.2)))))) + +(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") + (version "0.2.12") + (source (origin + (method url-fetch) + (uri (crate-uri "coreaudio-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "091b4sq3kl8n4dy86l4mxq9vjzsn8w8b51xzfcpxwjkciqjv4d7h")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Only builds for macos or ios. + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.64)))) + (home-page "https://github.com/RustAudio/coreaudio-sys") + (synopsis + "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen") + (description + "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen.") + (license license:expat))) |