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>
This commit is contained in:
Steve George 2023-10-24 11:38:43 +03:00 committed by Efraim Flashner
parent 319dc4986a
commit 7f358fa850
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -46206,6 +46206,33 @@ (define-public rust-object-0.27
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
("rust-wasmparser" ,rust-wasmparser-0.57)))))) ("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 (define-public rust-oboe-sys-0.4
(package (package
(name "rust-oboe-sys") (name "rust-oboe-sys")