summaryrefslogtreecommitdiffstats
path: root/unlustig.scm
diff options
context:
space:
mode:
Diffstat (limited to 'unlustig.scm')
-rw-r--r--unlustig.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/unlustig.scm b/unlustig.scm
index 521f300..cbbc814 100644
--- a/unlustig.scm
+++ b/unlustig.scm
@@ -953,3 +953,28 @@ the OS-level clipboard.")
"This package provides Miscellaneous components for use with Mio.")
(license license:expat)))
+(define-public rust-ndk-0.3
+ (package
+ (name "rust-ndk")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ndk" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1avk39s8w21inkzq09x83yghgq3v8rmhrycba8prg6rif8hk5547"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-jni" ,rust-jni-0.14)
+ ("rust-jni-glue" ,rust-jni-glue-0.0.10)
+ ("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))))
+ (home-page "https://github.com/rust-mobile/ndk")
+ (synopsis "Safe Rust bindings to the Android NDK")
+ (description
+ "This package provides Safe Rust bindings to the Android NDK.")
+ (license (list license:expat license:asl2.0))))
+