aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 28 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 19e799bc44..7914d1ee1f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16659,25 +16659,25 @@ primitives to an @code{io::Write}.")
(native-inputs
`(("jemalloc" ,jemalloc)))))
-(define-public rust-jni-0.14
+(define-public rust-jni-0.18
(package
(name "rust-jni")
- (version "0.14.0")
+ (version "0.18.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "jni" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "00jl4jzzbbcf1nyziras5drp501xsk89g0132pwg194ilh6k308r"))))
+ (base32 "1brglk3kfia9wkr6rkm6p297b8qk6rv3k8rf6jjiqc74l49735i4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cesu8" ,rust-cesu8-1)
- ("rust-combine" ,rust-combine-3)
- ("rust-error-chain" ,rust-error-chain-0.12)
+ ("rust-combine" ,rust-combine-4)
("rust-jni-sys" ,rust-jni-sys-0.3)
("rust-log" ,rust-log-0.4)
+ ("rust-thiserror" ,rust-thiserror-1)
("rust-walkdir" ,rust-walkdir-2))
#:cargo-development-inputs
(("rust-lazy-static" ,rust-lazy-static-1))))
@@ -16690,6 +16690,29 @@ 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.14
+ (package
+ (inherit rust-jni-0.18)
+ (name "rust-jni")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jni" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00jl4jzzbbcf1nyziras5drp501xsk89g0132pwg194ilh6k308r"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cesu8" ,rust-cesu8-1)
+ ("rust-combine" ,rust-combine-3)
+ ("rust-error-chain" ,rust-error-chain-0.12)
+ ("rust-jni-sys" ,rust-jni-sys-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-walkdir" ,rust-walkdir-2))
+ #:cargo-development-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1))))))
+
(define-public rust-jni-glue-0.0
(package
(name "rust-jni-glue")