guix-commits
[Top][All Lists]
Advanced

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

18/66: gnu: Add rust-oboe-sys-0.4.


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

efraim pushed a commit to branch master
in repository guix.

commit 319dc4986adb64d3860af9fae09047267b52556f
Author: Steve George <steve@futurile.net>
AuthorDate: Tue Oct 24 11:38:33 2023 +0300

    gnu: Add rust-oboe-sys-0.4.
    
    * gnu/packages/crates-io.scm (rust-oboe-sys-0.4): New variable.
    
    Change-Id: Ib9d97f8149cfc53d801ecdbc3ac51d5e3a8cf370
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ebfd3bed1b..b9a49983d3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46206,6 +46206,30 @@ file formats.")
         ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
         ("rust-wasmparser" ,rust-wasmparser-0.57))))))
 
+(define-public rust-oboe-sys-0.4
+  (package
+    (name "rust-oboe-sys")
+    (version "0.4.5")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "oboe-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1gcl494yy880h2gfgsbdd32g2h0s1n94v58j5hil9mrf6yvsnw1k"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #t ; requires Android libs
+           #:cargo-inputs `(("rust-bindgen" ,rust-bindgen-0.59)
+                            ("rust-cc" ,rust-cc-1)
+                            ("rust-fetch-unroll" ,rust-fetch-unroll-0.3))))
+    (home-page "https://github.com/katyo/oboe-rs";)
+    (synopsis
+     "Unsafe bindings for oboe an android library for low latency audio IO")
+    (description
+     "Unsafe bindings for oboe an android library for low latency audio IO.")
+    (license license:asl2.0)))
+
 (define-public rust-odds-0.3
   (package
     (name "rust-odds")



reply via email to

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