gnu: Add rust-jni-0.21.
* gnu/packages/crates-io.scm (rust-jni-0.21): New variable. (rust-jni-0.19): Inherit from rust-jni-0.21. Change-Id: I15da50085ad9b36ec5cc2e3e43bdaa96dacd2ad9
parent
32a72fe23f
commit
d3b9067e37
|
@ -38124,8 +38124,45 @@ strings and byte slices for sets of ASCII characters or bytes.")
|
|||
(base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j"))))
|
||||
(arguments `(#:skip-build? #t))))
|
||||
|
||||
(define-public rust-jni-0.21
|
||||
(package
|
||||
(name "rust-jni")
|
||||
(version "0.21.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "jni" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "15wczfkr2r45slsljby12ymf2hij8wi5b104ghck9byjnwmsm1qs"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-cesu8" ,rust-cesu8-1)
|
||||
("rust-cfg-if" ,rust-cfg-if-1)
|
||||
("rust-combine" ,rust-combine-4)
|
||||
("rust-java-locator" ,rust-java-locator-0.1)
|
||||
("rust-jni-sys" ,rust-jni-sys-0.3)
|
||||
("rust-libloading" ,rust-libloading-0.7)
|
||||
("rust-log" ,rust-log-0.4)
|
||||
("rust-thiserror" ,rust-thiserror-1)
|
||||
("rust-walkdir" ,rust-walkdir-2)
|
||||
("rust-windows-sys" ,rust-windows-sys-0.45))
|
||||
#:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)
|
||||
("rust-bytemuck" ,rust-bytemuck-1)
|
||||
("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-rusty-fork" ,rust-rusty-fork-0.3))))
|
||||
(home-page "https://github.com/jni-rs/jni-rs")
|
||||
(synopsis "Rust bindings to the JNI")
|
||||
(description
|
||||
"This package provides Rust bindings to the JNI. It
|
||||
implements native Java methods for JVM and Android in Rust, call Java
|
||||
code from Rust, embed JVM in Rust applications and use any Java
|
||||
libraries.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-jni-0.19
|
||||
(package
|
||||
(inherit rust-jni-0.21)
|
||||
(name "rust-jni")
|
||||
(version "0.19.0")
|
||||
(source
|
||||
|
@ -38135,7 +38172,6 @@ strings and byte slices for sets of ASCII characters or bytes.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1v0pn0i1wb8zp4wns4l8hz9689hqsplv7iba7hylaznvwg11ipy6"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-cesu8" ,rust-cesu8-1)
|
||||
|
@ -38145,15 +38181,7 @@ strings and byte slices for sets of ASCII characters or bytes.")
|
|||
("rust-thiserror" ,rust-thiserror-1)
|
||||
("rust-walkdir" ,rust-walkdir-2))
|
||||
#:cargo-development-inputs
|
||||
(("rust-lazy-static" ,rust-lazy-static-1))))
|
||||
(home-page "https://github.com/jni-rs/jni-rs")
|
||||
(synopsis "Rust bindings to the JNI")
|
||||
(description
|
||||
"This package provides Rust bindings to the JNI. It
|
||||
implements native Java methods for JVM and Android in Rust, call Java
|
||||
code from Rust, embed JVM in Rust applications and use any Java
|
||||
libraries.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
(("rust-lazy-static" ,rust-lazy-static-1))))))
|
||||
|
||||
(define-public rust-jni-0.18
|
||||
(package
|
||||
|
|
Reference in New Issue