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>
parent
fe53a28575
commit
3f070d8c03
|
@ -42844,6 +42844,28 @@ general elements and for numerics.")
|
||||||
"This package provides safe Rust bindings to the Android NDK.")
|
"This package provides safe Rust bindings to the Android NDK.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(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
|
(define-public rust-ndk-0.5
|
||||||
(package
|
(package
|
||||||
(inherit rust-ndk-0.7)
|
(inherit rust-ndk-0.7)
|
||||||
|
|
Reference in New Issue