guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19/66: gnu: Add rust-oboe-0.4.


From: guix-commits
Subject: 19/66: gnu: Add rust-oboe-0.4.
Date: Tue, 24 Oct 2023 07:54:53 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 7f358fa8500af57f34ca4451b1320665a5144714
Author: Steve George <steve@futurile.net>
AuthorDate: Tue Oct 24 11:38:43 2023 +0300

    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>
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]