From 2bad1ba294c89cab7bf2f5c3edc917b6fa3a7fc2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 24 Apr 2023 16:27:09 +0300 Subject: 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. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'gnu') 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") -- cgit v1.2.3