gnu: Add rust-ndk-sys-0.6.

* gnu/packages/crates-io.scm (rust-ndk-sys-0.6): New variable.
(rust-ndk-sys-0.5): Inherit from rust-ndk-sys-0.6.

Change-Id: If4136804282228c08caf0260df76b00c6f45ff0e
This commit is contained in:
Efraim Flashner 2024-11-14 10:10:45 +02:00
parent c72541db70
commit fd5e7e249a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -46792,8 +46792,29 @@ (define-public rust-ndk-macro-0.2
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
(define-public rust-ndk-sys-0.6
(package
(name "rust-ndk-sys")
(version "0.6.0+11769913")
(source
(origin
(method url-fetch)
(uri (crate-uri "ndk-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0wx8r6pji20if4xs04g73gxl98nmjrfc73z0v6w1ypv6a4qdlv7f"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; error: ndk-sys only supports compiling for Android
#:cargo-inputs (("rust-jni-sys" ,rust-jni-sys-0.3))))
(home-page "https://github.com/rust-mobile/ndk")
(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.5
(package
(inherit rust-ndk-sys-0.6)
(name "rust-ndk-sys")
(version "0.5.0+25.2.9519653")
(source
@ -46803,14 +46824,9 @@ (define-public rust-ndk-sys-0.5
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "14bnxww0f17xl8pyn6j5kpkl98snjl9lin8i7qv4zzb0vmlnf6cc"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; ndk-sys only supports compiling for Android
#:cargo-inputs (("rust-jni-sys" ,rust-jni-sys-0.3))))
(home-page "https://github.com/rust-mobile/ndk")
(synopsis "FFI bindings for the Android NDK")
(description "This package provides FFI bindings for the Android NDK.")
(license (list license:expat license:asl2.0))))
#:cargo-inputs (("rust-jni-sys" ,rust-jni-sys-0.3))))))
(define-public rust-ndk-sys-0.4
(package