From 7f358fa8500af57f34ca4451b1320665a5144714 Mon Sep 17 00:00:00 2001 From: Steve George Date: Tue, 24 Oct 2023 11:38:43 +0300 Subject: gnu: Add rust-oboe-0.4. * gnu/packages/crates-io.scm (rust-oboe-0.4): New variable. Change-Id: I083becc4acb141f537f7d4e594ce4d46eaa6cd13 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b9a49983d3..15810e0799 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -46206,6 +46206,33 @@ file formats.") ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-wasmparser" ,rust-wasmparser-0.57)))))) +(define-public rust-oboe-0.4 + (package + (name "rust-oboe") + (version "0.4.6") + (source (origin + (method url-fetch) + (uri (crate-uri "oboe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hd5626s8qkpgrl2alwz73i8rh1rzifbxj6pxz7zp82gicskrxi7")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #t ; requires Android libs + #:cargo-inputs `(("rust-jni" ,rust-jni-0.19) + ("rust-ndk" ,rust-ndk-0.6) + ("rust-ndk-context" ,rust-ndk-context-0.1) + ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-oboe-sys" ,rust-oboe-sys-0.4)))) + (home-page "https://github.com/katyo/oboe-rs") + (synopsis + "Safe interface for oboe an android library for low latency audio IO") + (description + "Safe interface for oboe an android library for low latency audio IO.") + (license license:asl2.0))) + (define-public rust-oboe-sys-0.4 (package (name "rust-oboe-sys") -- cgit 1.4.1