me
/
guix
Archived
1
0
Fork 0

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>
Steve George 2023-10-24 11:33:06 +03:00 committed by Efraim Flashner
parent fe53a28575
commit 3f070d8c03
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 22 additions and 0 deletions

View File

@ -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)