diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-04-24 16:27:09 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:39 +0300 |
commit | 2bad1ba294c89cab7bf2f5c3edc917b6fa3a7fc2 (patch) | |
tree | 4c651a0ddf4f4001b0bbc9520afe157eaafaf771 /gnu/packages/crates-io.scm | |
parent | f929ef6de76f08a1584446efbfc4aa628bbe6703 (diff) |
gnu: Add rust-ndk-sys-0.4.
* gnu/packages/crates-io.scm (rust-ndk-sys-0.4): New variable.
(rust-ndk-sys-0.2): Inherit from rust-ndk-sys-0.4.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1514289305..8446aaf3ea 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37468,24 +37468,40 @@ general elements and for numerics.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-ndk-sys-0.2 +(define-public rust-ndk-sys-0.4 (package (name "rust-ndk-sys") - (version "0.2.2") + (version "0.4.1+23.1.7779620") (source (origin (method url-fetch) (uri (crate-uri "ndk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08915adplysmvx0ha12if1v7zxzx82xgj3nnmiddkm8aq9sdvg71")))) + (base32 "18z5xsnrnpq65aspavb8cg925m3scs8hb1b9a2n2q8xxb3lsmwiw")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-jni-sys" ,rust-jni-sys-0.3)))) (home-page "https://github.com/rust-windowing/android-ndk-rs") (synopsis "FFI bindings for the Android NDK") (description "This package provides FFI bindings for the Android NDK.") (license (list license:expat license:asl2.0)))) +(define-public rust-ndk-sys-0.2 + (package + (inherit rust-ndk-sys-0.4) + (name "rust-ndk-sys") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ndk-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08915adplysmvx0ha12if1v7zxzx82xgj3nnmiddkm8aq9sdvg71")))) + (arguments `(#:skip-build? #t)))) + (define-public rust-needletail-0.4 (package (name "rust-needletail") |