summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-24 11:38:43 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:41 +0300
commit7f358fa8500af57f34ca4451b1320665a5144714 (patch)
tree53305137275bf5b32b9d6bfebf97da6498a8d8cc
parent319dc4986adb64d3860af9fae09047267b52556f (diff)
downloadguix-7f358fa8500af57f34ca4451b1320665a5144714.tar.gz
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 <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
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")