@@ -36380,6 +36380,27 @@ (define-public rust-ndk-0.2
"This package provides safe Rust bindings to the Android NDK.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ndk-0.5
+ (package
+ (inherit rust-ndk-0.2)
+ (name "rust-ndk")
+ (version "0.5.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "ndk" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "17b9imdmv6cffr12bdpvxw1myxdyvaf6jwkmd3w7abn7akv6in4n"))))
+ (arguments
+ `(#:skip-build? #t ;XXX: Android only
+ #:cargo-inputs
+ (("rust-jni" ,rust-jni-0.18) ("rust-jni-glue" ,rust-jni-glue-0.0)
+ ("rust-jni-sys" ,rust-jni-sys-0.3)
+ ("rust-ndk-sys" ,rust-ndk-sys-0.2)
+ ("rust-num-enum" ,rust-num-enum-0.5)
+ ("rust-thiserror" ,rust-thiserror-1))))))
+
(define-public rust-ndk-glue-0.2
(package
(name "rust-ndk-glue")