diff options
author | Steve George <steve@futurile.net> | 2023-10-24 11:33:06 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-24 14:39:40 +0300 |
commit | 3f070d8c03be8906ddef84ca1f6358b1acbbd8c4 (patch) | |
tree | 0d6d8b1fd5195bf3b3704b038ffa30b1b510c830 /gnu/packages | |
parent | fe53a28575281aa32960ced5890273226dfb8059 (diff) | |
download | guix-3f070d8c03be8906ddef84ca1f6358b1acbbd8c4.tar.gz |
gnu: Add rust-ndk-0.6.
* gnu/packages/crates-io.scm (rust-ndk-0.6): New variable. Change-Id: Ic47a8cf03c8246d0b826fcbadf0a454d956a3206 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3d58f2f13b..eadc4162e9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42844,6 +42844,28 @@ general elements and for numerics.") "This package provides safe Rust bindings to the Android NDK.") (license (list license:expat license:asl2.0)))) +(define-public rust-ndk-0.6 + (package + (inherit rust-ndk-0.7) + (name "rust-ndk") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (crate-uri "ndk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1m1dfjw35qpys1hr4qib6mm3zacd01k439l7cx5f7phd0dzcfci0")))) + (arguments + `(#:skip-build? #t ; Android only + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("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.3) + ("rust-num-enum" ,rust-num-enum-0.5) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-ndk-0.5 (package (inherit rust-ndk-0.7) |