diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-04-24 16:14:43 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:39 +0300 |
commit | 4e4fca901f36a6ae729a36d4d5b8abdc4a018321 (patch) | |
tree | dbff9175b6a0597a63f00f8b55dec65acd878d0c /gnu/packages/crates-io.scm | |
parent | b129d7a76d97c7c5fd399ac05e725282118e45b4 (diff) | |
download | guix-4e4fca901f36a6ae729a36d4d5b8abdc4a018321.tar.gz |
gnu: Add rust-ndk-0.7.
* gnu/packages/crates-io.scm (rust-ndk-0.7): New variable. (rust-ndk-0.5): Inherit from rust-ndk-0.7.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6e21f6bad2..affa34251e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37241,27 +37241,28 @@ general elements and for numerics.") ("rust-quickcheck" ,rust-quickcheck-0.7) ("rust-rawpointer" ,rust-rawpointer-0.1)))))) -(define-public rust-ndk-0.5 +(define-public rust-ndk-0.7 (package (name "rust-ndk") - (version "0.5.0") + (version "0.7.0") (source (origin (method url-fetch) (uri (crate-uri "ndk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17b9imdmv6cffr12bdpvxw1myxdyvaf6jwkmd3w7abn7akv6in4n")))) + (base32 "180sjpyf1ylqgqw4ni8jcg3kv96vvrddzamknp4730kiwjvj4525")))) (build-system cargo-build-system) (arguments `(#:skip-build? #true ;XXX: Android only #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-jni" ,rust-jni-0.18) + ("rust-jni" ,rust-jni-0.19) ("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-ndk-sys" ,rust-ndk-sys-0.4) ("rust-num-enum" ,rust-num-enum-0.5) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) ("rust-thiserror" ,rust-thiserror-1)))) (home-page "https://github.com/rust-windowing/android-ndk-rs") (synopsis "Safe Rust bindings to the Android NDK") @@ -37269,6 +37270,29 @@ 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.5 + (package + (inherit rust-ndk-0.7) + (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? #true ;XXX: 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.2) + ("rust-num-enum" ,rust-num-enum-0.5) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-ndk-0.2 (package (inherit rust-ndk-0.5) |